[Project64] Pause emulator on plugin settings

This commit is contained in:
zilmar 2017-09-25 17:12:32 +10:00
parent a17905f5b2
commit 226cfd8bf6
1 changed files with 10 additions and 0 deletions

View File

@ -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)