Fix more spelling mistakes

This commit is contained in:
Cornee Traas 2013-09-05 10:06:59 +02:00
parent 9b921f3c2d
commit eefd175900
4 changed files with 13 additions and 13 deletions

View file

@ -268,7 +268,7 @@ void Emulator::Stop()
Memory.Close(); Memory.Close();
//if(m_memory_viewer && m_memory_viewer->IsShown()) m_memory_viewer->Hide(); //if(m_memory_viewer && m_memory_viewer->IsShown()) m_memory_viewer->Hide();
wxGetApp().SendDbgCommand(DID_STOPED_EMU); wxGetApp().SendDbgCommand(DID_STOPPED_EMU);
} }
void Emulator::SavePoints(const wxString& path) void Emulator::SavePoints(const wxString& path)

View file

@ -301,7 +301,7 @@ void InterpreterDisAsmFrame::HandleCommand(wxCommandEvent& event)
{ {
switch(event.GetId()) switch(event.GetId())
{ {
case DID_STOPED_EMU: case DID_STOPPED_EMU:
UpdateUnitList(); UpdateUnitList();
break; break;

View file

@ -126,19 +126,19 @@ void MainFrame::DoSettings(bool load)
void MainFrame::BootGame(wxCommandEvent& WXUNUSED(event)) void MainFrame::BootGame(wxCommandEvent& WXUNUSED(event))
{ {
bool stoped = false; bool stopped = false;
if(Emu.IsRunning()) if(Emu.IsRunning())
{ {
Emu.Pause(); Emu.Pause();
stoped = true; stopped = true;
} }
wxDirDialog ctrl(this, L"Select game folder", wxEmptyString); wxDirDialog ctrl(this, L"Select game folder", wxEmptyString);
if(ctrl.ShowModal() == wxID_CANCEL) if(ctrl.ShowModal() == wxID_CANCEL)
{ {
if(stoped) Emu.Resume(); if(stopped) Emu.Resume();
return; return;
} }
@ -171,12 +171,12 @@ void MainFrame::BootGame(wxCommandEvent& WXUNUSED(event))
void MainFrame::BootElf(wxCommandEvent& WXUNUSED(event)) void MainFrame::BootElf(wxCommandEvent& WXUNUSED(event))
{ {
bool stoped = false; bool stopped = false;
if(Emu.IsRunning()) if(Emu.IsRunning())
{ {
Emu.Pause(); Emu.Pause();
stoped = true; stopped = true;
} }
wxFileDialog ctrl(this, L"Select ELF", wxEmptyString, wxEmptyString, "*.*", wxFileDialog ctrl(this, L"Select ELF", wxEmptyString, wxEmptyString, "*.*",
@ -184,7 +184,7 @@ void MainFrame::BootElf(wxCommandEvent& WXUNUSED(event))
if(ctrl.ShowModal() == wxID_CANCEL) if(ctrl.ShowModal() == wxID_CANCEL)
{ {
if(stoped) Emu.Resume(); if(stopped) Emu.Resume();
return; return;
} }
@ -200,12 +200,12 @@ void MainFrame::BootElf(wxCommandEvent& WXUNUSED(event))
void MainFrame::BootSelf(wxCommandEvent& WXUNUSED(event)) void MainFrame::BootSelf(wxCommandEvent& WXUNUSED(event))
{ {
bool stoped = false; bool stopped = false;
if(Emu.IsRunning()) if(Emu.IsRunning())
{ {
Emu.Pause(); Emu.Pause();
stoped = true; stopped = true;
} }
wxFileDialog ctrl(this, L"Select SELF", wxEmptyString, wxEmptyString, "*.*", wxFileDialog ctrl(this, L"Select SELF", wxEmptyString, wxEmptyString, "*.*",
@ -213,7 +213,7 @@ void MainFrame::BootSelf(wxCommandEvent& WXUNUSED(event))
if(ctrl.ShowModal() == wxID_CANCEL) if(ctrl.ShowModal() == wxID_CANCEL)
{ {
if(stoped) Emu.Resume(); if(stopped) Emu.Resume();
return; return;
} }
@ -394,7 +394,7 @@ void MainFrame::UpdateUI(wxCommandEvent& event)
break; break;
case DID_STOP_EMU: case DID_STOP_EMU:
case DID_STOPED_EMU: case DID_STOPPED_EMU:
is_running = false; is_running = false;
is_stopped = true; is_stopped = true;
is_ready = false; is_ready = false;

View file

@ -24,7 +24,7 @@ enum DbgCommand
DID_START_EMU, DID_START_EMU,
DID_STARTED_EMU, DID_STARTED_EMU,
DID_STOP_EMU, DID_STOP_EMU,
DID_STOPED_EMU, DID_STOPPED_EMU,
DID_PAUSE_EMU, DID_PAUSE_EMU,
DID_PAUSED_EMU, DID_PAUSED_EMU,
DID_RESUME_EMU, DID_RESUME_EMU,