bugfix: [1959907] Cheats Menu - allow it to be open while using emulator

This commit is contained in:
mauzus 2008-05-13 04:24:53 +00:00
parent 909245915b
commit f1497e8914
2 changed files with 4 additions and 1 deletions

View File

@ -26,7 +26,8 @@
#include "..\..\cart.h"
HWND hCheat; //mbg merge 7/19/06 had to add
int CheatWindow,CheatStyle; //mbg merge 7/19/06 had to add
int CheatWindow;
int CheatStyle=1;
#define GGLISTSIZE 128 //hopefully this is enough for all cases
@ -499,6 +500,8 @@ void ConfigCheats(HWND hParent) {
if (CheatStyle) hCheat = CreateDialog(fceu_hInstance,"CHEATCONSOLE",NULL,CheatConsoleCallB);
else DialogBox(fceu_hInstance,"CHEATCONSOLE",hParent,CheatConsoleCallB);
}
else
SetFocus(hCheat);
}
BOOL CALLBACK GGConvCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) {

Binary file not shown.