#include <math.h>
#include <time.h>
#include <ctype.h>
+#ifndef __SWITCH__
#include <sys/types.h>
+#endif
#include <assert.h>
// Define types
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;
boolean icache_emulation;
boolean DisableStalls;
+ boolean PreciseExceptions;
+ int GpuListWalking;
int cycle_multiplier; // 100 for 1.0
int cycle_multiplier_override;
u8 Cpu; // CPU_DYNAREC or CPU_INTERPRETER
u8 PsxType; // PSX_TYPE_NTSC or PSX_TYPE_PAL
-#ifdef _WIN32
- char Lang[256];
-#endif
+ struct {
+ boolean cdr_read_timing;
+ boolean gpu_slow_list_walking;
+ boolean gpu_busy;
+ boolean gpu_centering;
+ boolean dualshock_init_analog;
+ } hacks;
} PcsxConfig;
extern PcsxConfig Config;