summaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
authorDavid Guillen Fandos2021-03-22 21:45:52 +0100
committerDavid Guillen Fandos2021-03-22 21:45:52 +0100
commitf6f3a910397afb769f84d1332014c4eda1fedebe (patch)
treeb8885300d4e020da90d4308df2e9dba03d46fde5 /main.h
parenteab44b9e0b9dcb5cf7fa7b6851fa5454041da930 (diff)
downloadpicogpsp-f6f3a910397afb769f84d1332014c4eda1fedebe.tar.gz
picogpsp-f6f3a910397afb769f84d1332014c4eda1fedebe.tar.bz2
picogpsp-f6f3a910397afb769f84d1332014c4eda1fedebe.zip
Adding Normmatt's BIOS as a built-in BIOS
Add options to select whether to boot from BIOS (default is no, as it is now) and whether to use the original bios or the builtin one (default is auto, which tries to use the official but falls back to the builtin if not found).
Diffstat (limited to 'main.h')
-rw-r--r--main.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/main.h b/main.h
index dbb839f..bdb29e3 100644
--- a/main.h
+++ b/main.h
@@ -64,6 +64,19 @@ typedef enum
fixed_interval_frameskip
} frameskip_type;
+typedef enum
+{
+ auto_detect = 0,
+ builtin_bios,
+ official_bios
+} bios_type;
+
+typedef enum
+{
+ boot_game = 0,
+ boot_bios
+} boot_mode;
+
extern u32 cpu_ticks;
extern u32 execute_cycles;
extern u32 global_cycles_per_instruction;
@@ -98,6 +111,7 @@ u32 file_length(FILE *fp);
extern u32 num_skipped_frames;
extern int dynarec_enable;
+extern boot_mode selected_boot_mode;
void change_ext(const char *src, char *buffer, const char *extension);