Basicbot Fix - When stopping basicbot, FCEUX no longer in turbo mode.
This commit is contained in:
parent
97549d280e
commit
627e619c3c
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
@ -1013,12 +1012,12 @@ LRESULT FAR PASCAL AppWndProc(HWND hWnd,UINT msg,WPARAM wParam,LPARAM lParam)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MENU_PAL:
|
case MENU_PAL:
|
||||||
// PAL Emulation menu was selected
|
// PAL Emulation menu was selected
|
||||||
pal_emulation ^= 1;
|
pal_emulation ^= 1;
|
||||||
FCEUI_SetVidSystem(pal_emulation);
|
FCEUI_SetVidSystem(pal_emulation);
|
||||||
RefreshThrottleFPS();
|
RefreshThrottleFPS();
|
||||||
UpdateCheckedMenuItems();
|
UpdateCheckedMenuItems();
|
||||||
// DoVideoConfigFix();
|
// DoVideoConfigFix();
|
||||||
SetMainWindowStuff();
|
SetMainWindowStuff();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue