Core: AppCorePlugins.cpp add missing const

This commit is contained in:
TheLastRar 2020-12-11 09:56:29 +00:00 committed by refractionpcsx2
parent 0192c538ee
commit acd7fa90ef
1 changed files with 2 additions and 2 deletions

View File

@ -553,8 +553,8 @@ void SysExecEvent_SaveSinglePlugin::InvokeEvent()
memSavingState save( plugstore.get() );
GetCorePlugins().Freeze( m_pid, save );
}
bool wasOpen = GetCorePlugins().IsOpen(m_pid);
const bool wasOpen = GetCorePlugins().IsOpen(m_pid);
GetCorePlugins().Close( m_pid );
_post_and_wait( paused_core );