Correct the state of the Go button on autoload.

This commit is contained in:
Unknown W. Brackets 2013-03-31 18:48:44 -07:00
parent aeac614cc0
commit 5c4fe5c5b9

View file

@ -641,6 +641,11 @@ namespace MainWindow
if (nextState == CORE_RUNNING)
PostMessage(hwndMain, WM_COMMAND, ID_EMULATION_RUN, 0);
else if (globalUIState == UISTATE_INGAME)
{
if (disasmWindow[0])
SendMessage(disasmWindow[0]->GetDlgHandle(), WM_COMMAND, IDC_GO, 0);
}
SetForegroundWindow(hwndMain);
break;