N64FlashcartMenu
Loading...
Searching...
No Matches
menu.c File Reference

Menu system implementation. More...

Data Structures

struct  view_t
 View structure containing initialization and display functions. More...
 

Macros

#define MENU_DIRECTORY   "/menu"
 
#define MENU_SETTINGS_FILE   "config.ini"
 
#define MENU_CUSTOM_FONT_FILE   "custom.font64"
 
#define MENU_ROM_LOAD_HISTORY_FILE   "history.ini"
 
#define MENU_CACHE_DIRECTORY   "cache"
 
#define BACKGROUND_CACHE_FILE   "background.data"
 
#define FPS_LIMIT   (30.0f)
 

Functions

void menu_run (boot_params_t *boot_params)
 Run the menu system.
 

Variables

int __boot_tvtype
 

Detailed Description

Menu system implementation.


Data Structure Documentation

◆ view_t

struct view_t

View structure containing initialization and display functions.

Data Fields
menu_mode_t id

View ID

void(*)(menu_t *menu) init

Initialization function

void(*)(menu_t *menu, surface_t *display) show

Display function

Function Documentation

◆ menu_run()

void menu_run ( boot_params_t * boot_params)

Run the menu system.

Runs the menu subsystem.

Parameters
boot_paramsPointer to the boot parameters structure.