mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
Clean vm::ps3 namespace use
This commit is contained in:
parent
76be7d40ac
commit
cce0ad0c35
176 changed files with 693 additions and 698 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
#include <thread>
|
||||
|
||||
namespace vm { using namespace ps3; }
|
||||
|
||||
|
||||
logs::channel sys_timer("sys_timer");
|
||||
|
||||
|
@ -45,7 +45,7 @@ void lv2_timer::on_task()
|
|||
}
|
||||
|
||||
// Stop: oneshot or the event port was disconnected (TODO: is it correct?)
|
||||
state = SYS_TIMER_STATE_STOP;
|
||||
state = SYS_TIMER_STATE_STOP;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -81,7 +81,7 @@ error_code sys_timer_create(vm::ptr<u32> timer_id)
|
|||
*timer_id = id;
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
|
||||
return CELL_EAGAIN;
|
||||
}
|
||||
|
||||
|
@ -146,7 +146,7 @@ error_code _sys_timer_start(u32 timer_id, u64 base_time, u64 period)
|
|||
// Invalid oneshot (TODO: what will happen if both args are 0?)
|
||||
return not_an_error(CELL_ETIMEDOUT);
|
||||
}
|
||||
|
||||
|
||||
if (period && period < 100)
|
||||
{
|
||||
// Invalid periodic timer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue