[Project64] Pause emulator on plugin settings
This commit is contained in:
parent
a17905f5b2
commit
226cfd8bf6
|
@ -369,6 +369,11 @@ bool CPlugins::Reset(CN64System * System)
|
|||
|
||||
void CPlugins::ConfigPlugin(void* hParent, PLUGIN_TYPE Type)
|
||||
{
|
||||
if (g_BaseSystem)
|
||||
{
|
||||
g_BaseSystem->ExternalEvent(SysEvent_PauseCPU_Settings);
|
||||
}
|
||||
|
||||
switch (Type)
|
||||
{
|
||||
case PLUGIN_TYPE_RSP:
|
||||
|
@ -419,6 +424,11 @@ void CPlugins::ConfigPlugin(void* hParent, PLUGIN_TYPE Type)
|
|||
default:
|
||||
g_Notify->BreakPoint(__FILE__, __LINE__);
|
||||
}
|
||||
|
||||
if (g_BaseSystem)
|
||||
{
|
||||
g_BaseSystem->ExternalEvent(SysEvent_ResumeCPU_Settings);
|
||||
}
|
||||
}
|
||||
|
||||
void DummyCheckInterrupts(void)
|
||||
|
|
Loading…
Reference in New Issue