summaryrefslogtreecommitdiff
path: root/shell/menu/menu.h
blob: 9b8a7bb4cca6a641ec9d463e38935366dfc3cd42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef MENU_H
#define MENU_H

#include <stdint.h>

#ifndef PATH_MAX
#define PATH_MAX 2048
#endif

#define RGB565(r,g,b) ((r << 8) | (g << 3) | (b >> 3))

extern uint32_t emulator_state;
extern uint32_t done;

extern void Menu(void);
extern void Init_Configuration(void);

extern void SaveState_Menu(uint_fast8_t load_mode, uint_fast8_t slot);
extern void SRAM_Menu(uint_fast8_t load_mode);

#endif