X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=libpcsxcore%2Fpsxcommon.h;h=a25e6252c6b69e098097ca1c1e9b8f08abdce9ef;hb=refs%2Fheads%2Fmaster;hp=01b2a9aa95dc3a5deb6eb23c76f8c2076c87ebf9;hpb=e5241564f4444496f51f4de9bf533b1d910449ec;p=pcsx_rearmed.git diff --git a/libpcsxcore/psxcommon.h b/libpcsxcore/psxcommon.h index 01b2a9aa..53c23f16 100644 --- a/libpcsxcore/psxcommon.h +++ b/libpcsxcore/psxcommon.h @@ -112,15 +112,13 @@ extern int Log; void __Log(char *fmt, ...); +// lots of timing depends on this and makes or breaks compatibility, +// don't change unless you're going to retest hundreds of games #define CYCLE_MULT_DEFAULT 175 typedef struct { char Gpu[MAXPATHLEN]; char Spu[MAXPATHLEN]; - char Cdr[MAXPATHLEN]; - char Pad1[MAXPATHLEN]; - char Pad2[MAXPATHLEN]; - char Net[MAXPATHLEN]; char Sio1[MAXPATHLEN]; char Mcd1[MAXPATHLEN]; char Mcd2[MAXPATHLEN]; @@ -132,32 +130,33 @@ 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; boolean PreciseExceptions; - int GpuListWalking; + boolean TurboCD; int cycle_multiplier; // 100 for 1.0 int cycle_multiplier_override; + int gpu_timing_override; + s8 GpuListWalking; + s8 FractionalFramerate; // ~49.75 and ~59.81 instead of 50 and 60 u8 Cpu; // CPU_DYNAREC or CPU_INTERPRETER u8 PsxType; // PSX_TYPE_NTSC or PSX_TYPE_PAL struct { boolean cdr_read_timing; boolean gpu_slow_list_walking; - boolean gpu_busy; boolean gpu_centering; boolean dualshock_init_analog; + boolean fractional_Framerate; + boolean f1; } hacks; } PcsxConfig; extern PcsxConfig Config; -extern boolean NetOpened; struct PcsxSaveFuncs { void *(*open)(const char *name, const char *mode);