mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
PKG Installer fixed, u128 improved
This commit is contained in:
parent
12f36cf31f
commit
4e62ec7458
12 changed files with 304 additions and 184 deletions
|
@ -298,14 +298,14 @@ void Emulator::Run()
|
|||
SendDbgCommand(DID_STARTED_EMU);
|
||||
}
|
||||
|
||||
void Emulator::Pause()
|
||||
bool Emulator::Pause()
|
||||
{
|
||||
const u64 start = get_system_time();
|
||||
|
||||
// try to set Paused status
|
||||
if (!sync_bool_compare_and_swap(&m_status, Running, Paused))
|
||||
{
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
|
||||
// update pause start time
|
||||
|
@ -322,6 +322,8 @@ void Emulator::Pause()
|
|||
}
|
||||
|
||||
SendDbgCommand(DID_PAUSED_EMU);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void Emulator::Resume()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue