diff options
author | Nebuleon Fumika | 2013-01-19 02:24:37 -0500 |
---|---|---|
committer | Nebuleon Fumika | 2013-01-19 02:24:37 -0500 |
commit | 2bb2ee8c0aee044998858ff8263be71cb908a663 (patch) | |
tree | e350afccb07324962f773e5372254e4da31d7e99 /source/nds/gui.c | |
parent | 71a57cc449a42721eb0cd90cab07c57bbd9c9512 (diff) | |
download | snesemu-2bb2ee8c0aee044998858ff8263be71cb908a663.tar.gz snesemu-2bb2ee8c0aee044998858ff8263be71cb908a663.tar.bz2 snesemu-2bb2ee8c0aee044998858ff8263be71cb908a663.zip |
Prepare code to ask for a hotkey. Prepare a temporary fast-forward switch.
Diffstat (limited to 'source/nds/gui.c')
-rw-r--r-- | source/nds/gui.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/nds/gui.c b/source/nds/gui.c index 0a0a82a..1582b16 100644 --- a/source/nds/gui.c +++ b/source/nds/gui.c @@ -84,6 +84,16 @@ static int32 latest_save; // Slot number of the latest (in time) save for this g static bool8 SavedStateExistenceCached [SAVE_STATE_SLOT_NUM]; // [I] == TRUE if Cache[I] is meaningful static bool8 SavedStateExistenceCache [SAVE_STATE_SLOT_NUM]; +// These are U+05C8 and subsequent codepoints encoded in UTF-8. +const uint8 HOTKEY_A_DISPLAY[] = {0xD7, 0x88, 0x00}; +const uint8 HOTKEY_B_DISPLAY[] = {0xD7, 0x89, 0x00}; +const uint8 HOTKEY_X_DISPLAY[] = {0xD7, 0x8A, 0x00}; +const uint8 HOTKEY_Y_DISPLAY[] = {0xD7, 0x8B, 0x00}; +const uint8 HOTKEY_L_DISPLAY[] = {0xD7, 0x8C, 0x00}; +const uint8 HOTKEY_R_DISPLAY[] = {0xD7, 0x8D, 0x00}; +const uint8 HOTKEY_START_DISPLAY[] = {0xD7, 0x8E, 0x00}; +const uint8 HOTKEY_SELECT_DISPLAY[] = {0xD7, 0x8F, 0x00}; + #define MAKE_MENU(name, init_function, passive_function, key_function, end_function, \ focus_option, screen_focus) \ MENU_TYPE name##_menu = \ @@ -270,6 +280,7 @@ char DEFAULT_CFG_DIR[MAX_PATH]; char DEFAULT_SS_DIR[MAX_PATH]; char DEFAULT_CHEAT_DIR[MAX_PATH]; u32 game_fast_forward= 0; +u32 temporary_fast_forward = 0; u32 game_enable_audio = 1; |