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:
avihal@gmail.com 2011-03-20 12:32:54 +00:00
parent b72971408c
commit 15efbf2dd3
2 changed files with 4 additions and 2 deletions

View File

@ -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();
}

View File

@ -46,7 +46,8 @@ void UI_UpdateSysControls()
sApp.PostAction( CoreThreadStatusEvent( CoreThread_Indeterminate ) );
_SaveLoadStuff( true );
//_SaveLoadStuff( true );
_SaveLoadStuff( SysHasValidState() );
}
void UI_DisableSysReset()