X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fpsxcommon.h;h=67a0ae08ea0da5d922f2ac8b344341869351ee1d;hb=45a1e89f9b213953b102c6217c97a2f8828f1a57;hp=382d91949b3fbf7c7c04760545d8384d695fce26;hpb=d5aeda23720ba9374312f8d387f299024fedb7e6;p=pcsx_rearmed.git diff --git a/libpcsxcore/psxcommon.h b/libpcsxcore/psxcommon.h index 382d9194..67a0ae08 100644 --- a/libpcsxcore/psxcommon.h +++ b/libpcsxcore/psxcommon.h @@ -51,7 +51,9 @@ extern "C" { #include #include #include +#ifndef __SWITCH__ #include +#endif #include // Define types @@ -130,24 +132,29 @@ 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; boolean icache_emulation; boolean DisableStalls; + 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; + } hacks; } PcsxConfig; extern PcsxConfig Config; extern boolean NetOpened; +extern boolean BiosBooted; struct PcsxSaveFuncs { void *(*open)(const char *name, const char *mode);