Merge branch 'add-rom-patcher' of https://github.com/networkfusion/N64FlashcartMenu into add-rom-patcher

This commit is contained in:
Robin Jones 2024-03-07 21:19:10 +00:00
commit 324c7a472a
2 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,7 @@ typedef enum {
MENU_MODE_FLASHCART, MENU_MODE_FLASHCART,
MENU_MODE_LOAD_ROM, MENU_MODE_LOAD_ROM,
MENU_MODE_LOAD_DISK, MENU_MODE_LOAD_DISK,
MENU_MODE_LOAD_PATCH,
MENU_MODE_LOAD_EMULATOR, MENU_MODE_LOAD_EMULATOR,
MENU_MODE_LOAD_PATCH, MENU_MODE_LOAD_PATCH,
MENU_MODE_ERROR, MENU_MODE_ERROR,

View File

@ -302,6 +302,9 @@ static void process (menu_t *menu) {
case ENTRY_TYPE_DISK: case ENTRY_TYPE_DISK:
menu->next_mode = MENU_MODE_LOAD_DISK; menu->next_mode = MENU_MODE_LOAD_DISK;
break; break;
case ENTRY_TYPE_PATCH:
menu->next_mode = MENU_MODE_LOAD_PATCH;
break;
case ENTRY_TYPE_EMULATOR: case ENTRY_TYPE_EMULATOR:
menu->next_mode = MENU_MODE_LOAD_EMULATOR; menu->next_mode = MENU_MODE_LOAD_EMULATOR;
break; break;