Fix spelling of IsRunned to IsRunning

This commit is contained in:
Cornee Traas 2013-08-12 11:56:56 +02:00
parent d249bfef4d
commit 96c692aefc
11 changed files with 35 additions and 35 deletions

View file

@ -145,7 +145,7 @@ void Emulator::Run()
if(!IsReady()) return;
}
if(IsRunned()) Stop();
if(IsRunning()) Stop();
if(IsPaused())
{
Resume();
@ -156,7 +156,7 @@ void Emulator::Run()
wxCriticalSectionLocker lock(m_cs_status);
//ConLog.Write("run...");
m_status = Runned;
m_status = Running;
m_vfs.Mount("/", vfsDevice::GetRoot(m_path), new vfsLocalFile());
m_vfs.Mount("/dev_hdd0/", wxGetCwd() + "\\dev_hdd0\\", new vfsLocalFile());
@ -189,7 +189,7 @@ void Emulator::Run()
void Emulator::Pause()
{
if(!IsRunned()) return;
if(!IsRunning()) return;
//ConLog.Write("pause...");
wxGetApp().SendDbgCommand(DID_PAUSE_EMU);
@ -205,10 +205,10 @@ void Emulator::Resume()
wxGetApp().SendDbgCommand(DID_RESUME_EMU);
wxCriticalSectionLocker lock(m_cs_status);
m_status = Runned;
m_status = Running;
CheckStatus();
if(IsRunned() && Ini.CPUDecoderMode.GetValue() != 1) GetCPU().Exec();
if(IsRunning() && Ini.CPUDecoderMode.GetValue() != 1) GetCPU().Exec();
wxGetApp().SendDbgCommand(DID_RESUMED_EMU);
}