this cheat window was acting weird
This commit is contained in:
parent
82cdb6a12e
commit
373a543044
|
@ -518,16 +518,11 @@ void ConfigCheats(HWND hParent) {
|
|||
if (!CheatWindow) {
|
||||
selcheat=-1;
|
||||
CheatWindow=1;
|
||||
if (CheatStyle) hCheat = CreateDialog(fceu_hInstance,"CHEATCONSOLE",NULL,CheatConsoleCallB);
|
||||
if (CheatStyle) pwindow = hCheat = CreateDialog(fceu_hInstance,"CHEATCONSOLE",NULL,CheatConsoleCallB);
|
||||
else DialogBox(fceu_hInstance,"CHEATCONSOLE",hParent,CheatConsoleCallB);
|
||||
}
|
||||
else
|
||||
SetFocus(hCheat);
|
||||
|
||||
if(!pwindow)
|
||||
pwindow=CreateDialog(fceu_hInstance,"CHEATCONSOLE",NULL,CheatConsoleCallB);
|
||||
else
|
||||
SetFocus(pwindow);
|
||||
}
|
||||
|
||||
void UpdateCheatList()
|
||||
|
|
Loading…
Reference in New Issue