Made cheat menu's Pause When Active effect immediate
This commit is contained in:
parent
2f4384c1d5
commit
3d244249d6
|
@ -1,3 +1,4 @@
|
|||
22-may-2010 - ugetab - Win32 - Made cheat menu's Pause When Active effect immediate.
|
||||
22-may-2010 - ugetab - Win32 - Enabled multi-select for Cheat menu to allow multiple toggles and deletes.
|
||||
20-may-2010 - ugetab - Added NTSC 2x scalar option with some CFG config options of it's own
|
||||
20-may-2010 - Cah4e3 - Win32 - CDLogger - fixed bug preventing correct interrupt vectors from logging
|
||||
|
|
|
@ -393,6 +393,13 @@ BOOL CALLBACK CheatConsoleCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM l
|
|||
break;
|
||||
case IDC_CHEAT_PAUSEWHENACTIVE:
|
||||
pauseWhileActive ^= 1;
|
||||
if ((bool)EmulationPaused != pauseWhileActive)
|
||||
{
|
||||
EmulationPaused = (pauseWhileActive ? 1 : 0);
|
||||
wasPausedByCheats = pauseWhileActive;
|
||||
if (EmulationPaused)
|
||||
FCEU_printf("Emulation paused: %d\n", EmulationPaused);
|
||||
}
|
||||
break;
|
||||
case IDC_BTN_CHEAT_ADD:
|
||||
GetDlgItemText(hwndDlg,IDC_CHEAT_ADDR,str,5);
|
||||
|
|
Loading…
Reference in New Issue