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
 

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_LOAD , MENU_MODE_EMULATOR_LOAD , MENU_MODE_ERROR , MENU_MODE_FAULT ,
  MENU_MODE_BOOT , __MENU_MODE_COUNT
}
 Menu mode enumeration.
 
enum  entry_type_t {
  ENTRY_TYPE_DIR , ENTRY_TYPE_ROM , 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
flashcart_error_t flashcart_error
char * error_message
struct menu_t.actions actions
struct menu_t.browser browser

◆ menu_t.actions

struct menu_t.actions
Data Fields
bool go_up
bool go_down
bool go_left
bool go_right
bool fast
int vertical_held_counter
int horizontal_held_counter
bool enter
bool back
bool file_info
bool system_info
bool settings

◆ menu_t.browser

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