X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=libpcsxcore%2Fdatabase.c;h=ac19d576098df879000a9427e4a0dec21e795ad3;hp=f383e361623894e293521421cf7722d7284bbb2b;hb=a3203cf4f2f21b0f2f74c5e494e3f5ba58225eae;hpb=bb4f300c387365b819531cdec63ef17473f37817 diff --git a/libpcsxcore/database.c b/libpcsxcore/database.c index f383e361..ac19d576 100644 --- a/libpcsxcore/database.c +++ b/libpcsxcore/database.c @@ -1,6 +1,6 @@ #include "misc.h" -#include "../plugins/dfsound/spu_config.h" #include "sio.h" +#include "new_dynarec/new_dynarec.h" /* It's duplicated from emu_if.c */ #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) @@ -33,4 +33,14 @@ void Apply_Hacks_Cdrom() McdDisable[1] = 1; } } + + /* Dynarec game-specific hacks */ + new_dynarec_hacks &= ~NDHACK_OVERRIDE_CYCLE_M; + + /* Internal Section is fussy about timings */ + if (strcmp(CdromId, "SLPS01868") == 0) + { + cycle_multiplier_override = 200; + new_dynarec_hacks |= NDHACK_OVERRIDE_CYCLE_M; + } }