mirror of https://github.com/PCSX2/pcsx2.git
Patch by pseudonim: Disable the state load/save menus when no active VM.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4463 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
b72971408c
commit
15efbf2dd3
|
@ -15,7 +15,7 @@
|
|||
|
||||
#include "PrecompiledHeader.h"
|
||||
#include "Common.h"
|
||||
|
||||
#include "gui/App.h"
|
||||
#include "IopBios.h"
|
||||
|
||||
#include "Counters.h"
|
||||
|
@ -240,6 +240,7 @@ bool SysCoreThread::StateCheckInThread()
|
|||
void SysCoreThread::DoCpuExecute()
|
||||
{
|
||||
m_hasActiveMachine = true;
|
||||
UI_EnableSysActions();
|
||||
Cpu->Execute();
|
||||
}
|
||||
|
||||
|
|
|
@ -46,7 +46,8 @@ void UI_UpdateSysControls()
|
|||
|
||||
sApp.PostAction( CoreThreadStatusEvent( CoreThread_Indeterminate ) );
|
||||
|
||||
_SaveLoadStuff( true );
|
||||
//_SaveLoadStuff( true );
|
||||
_SaveLoadStuff( SysHasValidState() );
|
||||
}
|
||||
|
||||
void UI_DisableSysReset()
|
||||
|
|
Loading…
Reference in New Issue