Actually respect autorun on Windows.

Fixes #1179.
This commit is contained in:
Unknown W. Brackets 2013-04-05 00:57:43 -07:00
parent 169d04d3ad
commit fd0a422d89
4 changed files with 4 additions and 24 deletions

View file

@ -138,7 +138,10 @@ void WindowsHost::PollControllers(InputState &input_state)
void WindowsHost::BootDone()
{
symbolMap.SortSymbols();
PostMessage(MainWindow::GetHWND(), WM_USER+1, 0,0);
SendMessage(MainWindow::GetHWND(), WM_USER+1, 0,0);
SetDebugMode(!g_Config.bAutoRun);
Core_EnableStepping(!g_Config.bAutoRun);
}
static std::string SymbolMapFilename(const char *currentFilename)