N64FlashcartMenu
Loading...
Searching...
No Matches
Data Structures | Macros | Enumerations
menu_state.h File Reference

Menu State. More...

Go to the source code of this file.

Data Structures

struct  entry_t
 File Entry Structure. More...
 
struct  menu_t
 Menu Structure. More...
 
struct  menu_t.actions
 
struct  menu_t.browser
 
struct  menu_t.load
 

Macros

#define BROWSER_LIST_SIZE   2048
 

Enumerations

enum  menu_mode_t {
  MENU_MODE_NONE , MENU_MODE_STARTUP , MENU_MODE_BROWSER , MENU_MODE_FILE_INFO ,
  MENU_MODE_SYSTEM_INFO , MENU_MODE_IMAGE_VIEWER , MENU_MODE_MUSIC_PLAYER , MENU_MODE_CREDITS ,
  MENU_MODE_SETTINGS_EDITOR , MENU_MODE_RTC , MENU_MODE_LOAD_ROM , MENU_MODE_LOAD_DISK ,
  MENU_MODE_LOAD_EMULATOR , MENU_MODE_ERROR , MENU_MODE_FAULT , MENU_MODE_BOOT
}
 Menu mode enumeration.
 
enum  entry_type_t {
  ENTRY_TYPE_DIR , ENTRY_TYPE_ROM , ENTRY_TYPE_DISK , ENTRY_TYPE_EMULATOR ,
  ENTRY_TYPE_SAVE , ENTRY_TYPE_IMAGE , ENTRY_TYPE_MUSIC , ENTRY_TYPE_OTHER
}
 File entry type enumeration.
 

Detailed Description

Menu State.


Data Structure Documentation

◆ entry_t

struct entry_t

File Entry Structure.

Data Fields
char * name
entry_type_t type
int size

◆ menu_t

struct menu_t

Menu Structure.

Data Fields
menu_mode_t mode
menu_mode_t next_mode
settings_t settings
boot_params_t * boot_params
char * error_message
flashcart_err_t flashcart_err
time_t current_time
struct menu_t.actions actions
struct menu_t.browser browser
struct menu_t.load load

◆ menu_t.actions

struct menu_t.actions
Data Fields
bool go_up
bool go_down
bool go_left
bool go_right
bool go_fast
bool enter
bool back
bool options
bool settings

◆ menu_t.browser

struct menu_t.browser
Data Fields
bool valid
bool reload
path_t * directory
entry_t list[BROWSER_LIST_SIZE]
int entries
entry_t * entry
int selected

◆ menu_t.load

struct menu_t.load
Data Fields
path_t * rom_path
rom_info_t rom_info
path_t * disk_path
disk_info_t disk_info