[MiSTer] ; lastcore - Autoboot the last loaded core (corename autosaved in CONFIG/lastcore.dat) first found on the SD/USB ; lastexactcore - Autoboot the last loaded exact core (corename_yyyymmdd.rbf autosaved in CONFIG/lastcore.dat) first found on the SD/USB ; corename - Autoboot first corename_*.rbf found on the SD/USB ; corename_yyyymmdd.rbf - Autoboot first corename_yyyymmdd.rbf found on the SD/USB ;bootcore=lastcore ; uncomment to autoboot a core, as the last loaded core. bootcore_timeout=10 ; 10-30 timeout before autoboot, comment for autoboot without timeout.
33 lines
920 B
C
33 lines
920 B
C
#ifndef MENU_H
|
|
#define MENU_H
|
|
|
|
#include <inttypes.h>
|
|
|
|
// UI strings, used by boot messages
|
|
extern const char *config_memory_chip_msg[];
|
|
extern const char *config_memory_slow_msg[];
|
|
extern const char *config_memory_fast_msg[];
|
|
extern const char *config_cpu_msg[];
|
|
extern const char *config_hdf_msg[];
|
|
extern const char *config_chipset_msg[];
|
|
|
|
void HandleUI(void);
|
|
void menu_key_set(unsigned int c);
|
|
void PrintFileName(char *name, int row, int maxinv);
|
|
void PrintDirectory(void);
|
|
void ScrollLongName(void);
|
|
|
|
void ErrorMessage(const char *message, unsigned char code);
|
|
void InfoMessage(const char *message, int timeout = 2000);
|
|
void Info(const char *message, int timeout = 2000, int width = 0, int height = 0, int frame = 0);
|
|
|
|
uint32_t getStatus(char *opt, uint32_t status);
|
|
void substrcpy(char *d, char *s, char idx);
|
|
|
|
extern char joy_bnames[12][32];
|
|
extern int joy_bcount;
|
|
|
|
void open_joystick_setup();
|
|
|
|
#endif
|