cdrom: make the timing hack conditional
[pcsx_rearmed.git] / libpcsxcore / psxcommon.h
index 382d919..e0876cf 100644 (file)
@@ -51,7 +51,9 @@ extern "C" {
 #include <math.h>
 #include <time.h>
 #include <ctype.h>
+#ifndef __SWITCH__
 #include <sys/types.h>
+#endif
 #include <assert.h>
 
 // Define types
@@ -130,8 +132,10 @@ typedef struct {
        boolean Mdec;
        boolean PsxAuto;
        boolean Cdda;
+       boolean AsyncCD;
        boolean CHD_Precache; /* loads disk image into memory, works with CHD only. */
        boolean HLE;
+       boolean SlowBoot;
        boolean Debug;
        boolean PsxOut;
        boolean UseNet;
@@ -141,6 +145,9 @@ typedef struct {
        int cycle_multiplier_override;
        u8 Cpu; // CPU_DYNAREC or CPU_INTERPRETER
        u8 PsxType; // PSX_TYPE_NTSC or PSX_TYPE_PAL
+       struct {
+               boolean cdr_read_timing;
+       } hacks;
 #ifdef _WIN32
        char Lang[256];
 #endif