X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fdatabase.c;h=4d4439ad4870fe99be7508a35102da0f7ee8ca47;hb=b7ec323c2e42a9ff8df844e5a95665733abb4bc1;hp=f383e361623894e293521421cf7722d7284bbb2b;hpb=eedfe8060a20c8a9120ff8cab55110a1e2470887;p=pcsx_rearmed.git diff --git a/libpcsxcore/database.c b/libpcsxcore/database.c index f383e361..4d4439ad 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_pergame = 0; + + /* Internal Section is fussy about timings */ + if (strcmp(CdromId, "SLPS01868") == 0) + { + cycle_multiplier_override = 202; + new_dynarec_hacks_pergame |= NDHACK_OVERRIDE_CYCLE_M; + } }