Win32 - Added a menu item to toggle to New PPU
This commit is contained in:
parent
746b85a5a4
commit
ced6d87483
|
@ -1,3 +1,4 @@
|
||||||
|
12-august-2009 - adelikat - Win32 - Added a menu item to toggle to New PPU
|
||||||
10-august-2009 - adelikat - fixed bug that caused new movies be created in /movie instead of /movies
|
10-august-2009 - adelikat - fixed bug that caused new movies be created in /movie instead of /movies
|
||||||
08-august-2009 - qeed - mappers - fixed mapper irq count, dragon ball z 3
|
08-august-2009 - qeed - mappers - fixed mapper irq count, dragon ball z 3
|
||||||
should be playable again.
|
should be playable again.
|
||||||
|
|
|
@ -131,6 +131,11 @@ BEGIN
|
||||||
MENUITEM "&Game Genie", MENU_GAME_GENIE
|
MENUITEM "&Game Genie", MENU_GAME_GENIE
|
||||||
MENUITEM "&PAL Emulation", MENU_PAL
|
MENUITEM "&PAL Emulation", MENU_PAL
|
||||||
MENUITEM SEPARATOR
|
MENUITEM SEPARATOR
|
||||||
|
POPUP "PPU"
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "New PPU", ID_NEWPPU
|
||||||
|
MENUITEM "Old PPU", ID_OLDPPU
|
||||||
|
END
|
||||||
MENUITEM "&Directories...", MENU_DIRECTORIES
|
MENUITEM "&Directories...", MENU_DIRECTORIES
|
||||||
MENUITEM "&GUI...", MENU_GUI_OPTIONS
|
MENUITEM "&GUI...", MENU_GUI_OPTIONS
|
||||||
MENUITEM "&Input...", MENU_INPUT
|
MENUITEM "&Input...", MENU_INPUT
|
||||||
|
|
|
@ -690,6 +690,11 @@
|
||||||
#define ID_FILE_RECENT40359 40359
|
#define ID_FILE_RECENT40359 40359
|
||||||
#define ID_TASEDIT_FILE_RECENT 40360
|
#define ID_TASEDIT_FILE_RECENT 40360
|
||||||
#define ID_OPTIONS_BINDTOMAINWINDOW 40361
|
#define ID_OPTIONS_BINDTOMAINWINDOW 40361
|
||||||
|
#define ID_CONFIG_PPU 40362
|
||||||
|
#define ID_PPU_NEWPPU 40363
|
||||||
|
#define ID_PPU_OLDPPU 40364
|
||||||
|
#define ID_NEWPPU 40365
|
||||||
|
#define ID_OLDPPU 40366
|
||||||
#define IDC_DEBUGGER_ICONTRAY 55535
|
#define IDC_DEBUGGER_ICONTRAY 55535
|
||||||
#define MW_ValueLabel2 65423
|
#define MW_ValueLabel2 65423
|
||||||
#define MW_ValueLabel1 65426
|
#define MW_ValueLabel1 65426
|
||||||
|
@ -699,7 +704,7 @@
|
||||||
#ifdef APSTUDIO_INVOKED
|
#ifdef APSTUDIO_INVOKED
|
||||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||||
#define _APS_NEXT_RESOURCE_VALUE 125
|
#define _APS_NEXT_RESOURCE_VALUE 125
|
||||||
#define _APS_NEXT_COMMAND_VALUE 40362
|
#define _APS_NEXT_COMMAND_VALUE 40367
|
||||||
#define _APS_NEXT_CONTROL_VALUE 1205
|
#define _APS_NEXT_CONTROL_VALUE 1205
|
||||||
#define _APS_NEXT_SYMED_VALUE 101
|
#define _APS_NEXT_SYMED_VALUE 101
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -98,6 +98,7 @@ extern bool turbo;
|
||||||
extern int luaRunning;
|
extern int luaRunning;
|
||||||
extern bool movie_readonly;
|
extern bool movie_readonly;
|
||||||
extern bool AutoSS; //flag for whether an auto-save has been made
|
extern bool AutoSS; //flag for whether an auto-save has been made
|
||||||
|
extern int newppu;
|
||||||
// Extern functions
|
// Extern functions
|
||||||
char *md5_asciistr(uint8 digest[16]);
|
char *md5_asciistr(uint8 digest[16]);
|
||||||
|
|
||||||
|
@ -1611,6 +1612,12 @@ LRESULT FAR PASCAL AppWndProc(HWND hWnd,UINT msg,WPARAM wParam,LPARAM lParam)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case ID_NEWPPU:
|
||||||
|
newppu = 1;
|
||||||
|
break;
|
||||||
|
case ID_OLDPPU:
|
||||||
|
newppu = 0;
|
||||||
|
break;
|
||||||
case MENU_GAME_GENIE:
|
case MENU_GAME_GENIE:
|
||||||
genie ^= 1;
|
genie ^= 1;
|
||||||
FCEUI_SetGameGenie(genie!=0);
|
FCEUI_SetGameGenie(genie!=0);
|
||||||
|
@ -2008,6 +2015,10 @@ adelikat: Outsourced this to a remappable hotkey
|
||||||
EnableMenuItem(fceumenu,MENU_STOP_AVI,MF_BYCOMMAND | (FCEUI_AviIsRecording()?MF_ENABLED:MF_GRAYED));
|
EnableMenuItem(fceumenu,MENU_STOP_AVI,MF_BYCOMMAND | (FCEUI_AviIsRecording()?MF_ENABLED:MF_GRAYED));
|
||||||
EnableMenuItem(fceumenu,MENU_STOP_WAV,MF_BYCOMMAND | (loggingSound?MF_ENABLED:MF_GRAYED));
|
EnableMenuItem(fceumenu,MENU_STOP_WAV,MF_BYCOMMAND | (loggingSound?MF_ENABLED:MF_GRAYED));
|
||||||
EnableMenuItem(fceumenu,ID_FILE_STOPLUASCRIPT,MF_BYCOMMAND | (luaRunning?MF_ENABLED:MF_GRAYED));
|
EnableMenuItem(fceumenu,ID_FILE_STOPLUASCRIPT,MF_BYCOMMAND | (luaRunning?MF_ENABLED:MF_GRAYED));
|
||||||
|
|
||||||
|
CheckMenuItem(fceumenu, ID_NEWPPU, newppu ? MF_CHECKED : MF_UNCHECKED);
|
||||||
|
CheckMenuItem(fceumenu, ID_OLDPPU, !newppu ? MF_CHECKED : MF_UNCHECKED);
|
||||||
|
|
||||||
default:
|
default:
|
||||||
proco:
|
proco:
|
||||||
return DefWindowProc(hWnd,msg,wParam,lParam);
|
return DefWindowProc(hWnd,msg,wParam,lParam);
|
||||||
|
|
Loading…
Reference in New Issue