Fixes after rebase.

This commit is contained in:
Robin Jones 2024-03-07 21:17:03 +00:00
parent 52561a9c7d
commit d20dc881b0
3 changed files with 5 additions and 5 deletions

View File

@ -157,7 +157,7 @@ static view_t menu_views[] = {
{ MENU_MODE_LOAD_ROM, view_load_rom_init, view_load_rom_display },
{ MENU_MODE_LOAD_DISK, view_load_disk_init, view_load_disk_display },
{ MENU_MODE_LOAD_EMULATOR, view_load_emulator_init, view_load_emulator_display },
{ MENU_MODE_LOAD_PATCH, view_load_rom_patch_display },
{ MENU_MODE_LOAD_PATCH, view_load_rom_patch_init, view_load_rom_patch_display },
{ MENU_MODE_ERROR, view_error_init, view_error_display },
{ MENU_MODE_FAULT, view_fault_init, view_fault_display },
};

View File

@ -38,8 +38,8 @@ typedef enum {
MENU_MODE_FLASHCART,
MENU_MODE_LOAD_ROM,
MENU_MODE_LOAD_DISK,
MENU_MODE_LOAD_PATCH,
MENU_MODE_LOAD_EMULATOR,
MENU_MODE_LOAD_PATCH,
MENU_MODE_ERROR,
MENU_MODE_FAULT,
MENU_MODE_BOOT,

View File

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