Basicbot Fix - When stopping basicbot, FCEUX no longer in turbo mode.

This commit is contained in:
adelikat 2008-07-05 23:37:35 +00:00
parent 97549d280e
commit 627e619c3c
2 changed files with 3 additions and 3 deletions

View File

@ -2271,6 +2271,7 @@ static void StopBasicBot()
BotBestScore[0] = BotBestScore[1] = BotBestScore[2] = BotBestScore[3] = -999999999; BotBestScore[0] = BotBestScore[1] = BotBestScore[2] = BotBestScore[3] = -999999999;
NewAttempt = true; NewAttempt = true;
SetDlgItemText(hwndBasicBot,GUI_BOT_RUN,"Run!"); SetDlgItemText(hwndBasicBot,GUI_BOT_RUN,"Run!");
FCEU_SetBotMode(0);
} }

View File

@ -999,7 +999,6 @@ LRESULT FAR PASCAL AppWndProc(HWND hWnd,UINT msg,WPARAM wParam,LPARAM lParam)
case MENU_SHOW_STATUS_ICON: case MENU_SHOW_STATUS_ICON:
// Show status icon menu was selected // Show status icon menu was selected
// TODO: This does not work.
status_icon = !status_icon; status_icon = !status_icon;
UpdateCheckedMenuItems(); UpdateCheckedMenuItems();
break; break;