X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fdatabase.c;h=6cce0737b62b09c7a00f7455af16cb525f743cad;hb=548cdef90b0ff6137c609c59df9566925c25bb14;hp=ebdb69b64fadc5c14dc629b021a724f4e8248a2c;hpb=3de08a09ec3cd4d9573b2c5826dc3c05fe7f5852;p=pcsx_rearmed.git diff --git a/libpcsxcore/database.c b/libpcsxcore/database.c index ebdb69b6..6cce0737 100644 --- a/libpcsxcore/database.c +++ b/libpcsxcore/database.c @@ -27,8 +27,12 @@ static const char * const gpu_slow_llist_db[] = "SCES02834", "SCUS94570", "SCUS94616", "SCUS94654", /* Final Fantasy IV */ "SCES03840", "SLPM86028", "SLUS01360", + /* Simple 1500 Series Vol. 57: The Meiro */ + "SLPM86715", /* Spot Goes to Hollywood */ "SLES00330", "SLPS00394", "SLUS00014", + /* Tiny Tank */ + "SCES01338", "SCES02072", "SCES02072", "SCES02072", "SCES02072", "SCUS94427", /* Vampire Hunter D */ "SLES02731", "SLPS02477", "SLPS03198", "SLUS01138", }; @@ -47,6 +51,12 @@ static const char * const gpu_centering_hack_db[] = "SLPM86009", }; +static const char * const dualshock_init_analog_hack_db[] = +{ + /* Formula 1 Championship Edition */ + "SLUS00546", +}; + #define HACK_ENTRY(var, list) \ { #var, &Config.hacks.var, list, ARRAY_SIZE(list) } @@ -63,6 +73,7 @@ hack_db[] = HACK_ENTRY(gpu_slow_list_walking, gpu_slow_llist_db), HACK_ENTRY(gpu_busy, gpu_busy_hack_db), HACK_ENTRY(gpu_centering, gpu_centering_hack_db), + HACK_ENTRY(dualshock_init_analog, dualshock_init_analog_hack_db), }; static const struct @@ -95,6 +106,8 @@ cycle_multiplier_overrides[] = /* Psychic Detective - some weird race condition in the game's cdrom code */ { 222, { "SLUS00165", "SLUS00166", "SLUS00167" } }, { 222, { "SLES00070", "SLES10070", "SLES20070" } }, + /* Zero Divide - sometimes too fast */ + { 200, { "SLUS00183", "SLES00159", "SLPS00083", "SLPM80008" } }, }; /* Function for automatic patching according to GameID. */ @@ -116,6 +129,12 @@ void Apply_Hacks_Cdrom(void) } } + if (Config.hacks.dualshock_init_analog) { + // assume the default is off, see LoadPAD1plugin() + for (i = 0; i < 8; i++) + padToggleAnalog(i); + } + /* Apply Memory card hack for Codename Tenka. (The game needs one of the memory card slots to be empty) */ for (i = 0; i < ARRAY_SIZE(MemorycardHack_db); i++) {