X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fpsxcommon.h;h=67a0ae08ea0da5d922f2ac8b344341869351ee1d;hb=f5f5f5dddc4ab9b4d613fda8e450685689cbc8c7;hp=a57194c03383161887c7d0081f1eb03cae76c22e;hpb=840639a54563490c3e0287b4536d40a5ae761bc1;p=pcsx_rearmed.git diff --git a/libpcsxcore/psxcommon.h b/libpcsxcore/psxcommon.h index a57194c0..67a0ae08 100644 --- a/libpcsxcore/psxcommon.h +++ b/libpcsxcore/psxcommon.h @@ -112,6 +112,8 @@ extern int Log; void __Log(char *fmt, ...); +#define CYCLE_MULT_DEFAULT 175 + typedef struct { char Gpu[MAXPATHLEN]; char Spu[MAXPATHLEN]; @@ -119,7 +121,7 @@ typedef struct { char Pad1[MAXPATHLEN]; char Pad2[MAXPATHLEN]; char Net[MAXPATHLEN]; - char Sio1[MAXPATHLEN]; + char Sio1[MAXPATHLEN]; char Mcd1[MAXPATHLEN]; char Mcd2[MAXPATHLEN]; char Bios[MAXPATHLEN]; @@ -139,15 +141,20 @@ typedef struct { 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); @@ -163,10 +170,6 @@ extern struct PcsxSaveFuncs SaveFuncs; if (Mode == 0) SaveFuncs.read(f, ptr, size); \ } -// Make the timing events trigger faster as we are currently assuming everything -// takes one cycle, which is not the case on real hardware. -// FIXME: Count the proper cycle and get rid of this -#define BIAS 2 #define PSXCLK 33868800 /* 33.8688 MHz */ enum {