[Project64] in CN64System::Pause only display message id pause fromm menu
This commit is contained in:
parent
e90d65caaa
commit
8dff00f3aa
|
@ -509,13 +509,20 @@ void CN64System::Pause()
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
uint32_t PauseType = g_Settings->LoadDword(GameRunning_CPU_PausedType);
|
||||||
m_hPauseEvent.Reset();
|
m_hPauseEvent.Reset();
|
||||||
g_Settings->SaveBool(GameRunning_CPU_Paused, true);
|
g_Settings->SaveBool(GameRunning_CPU_Paused, true);
|
||||||
g_Notify->DisplayMessage(5, MSG_CPU_PAUSED);
|
if (PauseType == PauseType_FromMenu)
|
||||||
|
{
|
||||||
|
g_Notify->DisplayMessage(5, MSG_CPU_PAUSED);
|
||||||
|
}
|
||||||
m_hPauseEvent.IsTriggered(SyncEvent::INFINITE_TIMEOUT);
|
m_hPauseEvent.IsTriggered(SyncEvent::INFINITE_TIMEOUT);
|
||||||
m_hPauseEvent.Reset();
|
m_hPauseEvent.Reset();
|
||||||
g_Settings->SaveBool(GameRunning_CPU_Paused, (uint32_t)false);
|
g_Settings->SaveBool(GameRunning_CPU_Paused, (uint32_t)false);
|
||||||
g_Notify->DisplayMessage(5, MSG_CPU_RESUMED);
|
if (PauseType == PauseType_FromMenu)
|
||||||
|
{
|
||||||
|
g_Notify->DisplayMessage(5, MSG_CPU_RESUMED);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CN64System::GameReset()
|
void CN64System::GameReset()
|
||||||
|
|
Loading…
Reference in New Issue