-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmain.h
More file actions
executable file
·43 lines (36 loc) · 1.05 KB
/
main.h
File metadata and controls
executable file
·43 lines (36 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//#define DEBUG_TTY_FEEDBACK /* Comment out to disable debugging messages */
#ifdef DEBUG_TTY_FEEDBACK
#define DEBUG_PRINTF(args...) printf(args)
#else
#define DEBUG_PRINTF(args...)
#endif
#define FMCB_INSTALLER_VERSION "0.973"
/* The number of files and folders to crosslink (For multi-regional and cross-model installations). */
#define NUM_CROSSLINKED_FILES 8
/* Event numbers */
enum MainMenuEvents{
EVENT_INSTALL=0,
EVENT_MULTI_INSTALL,
EVENT_CLEANUP,
EVENT_CLEANUP_MULTI,
EVENT_FORMAT,
EVENT_DUMP_MC,
EVENT_RESTORE_MC,
EVENT_INSTALL_FHDB,
EVENT_CLEANUP_FHDB,
EVENT_INSTALL_CROSS_PSX,
EVENT_EXIT,
EVENT_OPTION_COUNT /* The number of valid events. */
};
/* Memory card state flags */
#define MC_FLAG_CARD_HAS_MULTI_INST 0x01
struct McData{
int SpaceFree;
int Type;
int Format;
unsigned char flags;
};
/* Operation mode prerequisite check parameters */
#define CHECK_MULTI_INSTALL 0x01
#define CHECK_MUST_HAVE_MULTI_INSTALL 0x02 /* The opposite of CHECK_MULTI_INSTALL */
#define CHECK_FREE_SPACE 0x04