add Bomberman: Fantasy Race to database for hack "(GPU) slow linked list walking"
[pcsx_rearmed.git] / libpcsxcore / database.c
index ae6fe36..568bba2 100644 (file)
@@ -20,6 +20,8 @@ static const char * const cdr_read_hack_db[] =
 
 static const char * const gpu_slow_llist_db[] =
 {
+       /* Bomberman Fantasy Race */
+       "SLES01712", "SLPS01525", "SLPS91138", "SLPM87102", "SLUS00823",
        /* Crash Bash */
        "SCES02834", "SCUS94570", "SCUS94616", "SCUS94654",
        /* Final Fantasy IV */
@@ -30,6 +32,12 @@ static const char * const gpu_slow_llist_db[] =
        "SLES02731", "SLPS02477", "SLPS03198", "SLUS01138",
 };
 
+static const char * const gpu_busy_hack_db[] =
+{
+       /* ToHeart (Japan) */
+       "SLPS01919", "SLPS01920",
+};
+
 #define HACK_ENTRY(var, list) \
        { #var, &Config.hacks.var, list, ARRAY_SIZE(list) }
 
@@ -44,6 +52,7 @@ hack_db[] =
 {
        HACK_ENTRY(cdr_read_timing, cdr_read_hack_db),
        HACK_ENTRY(gpu_slow_list_walking, gpu_slow_llist_db),
+       HACK_ENTRY(gpu_busy_hack, gpu_busy_hack_db),
 };
 
 static const struct
@@ -53,12 +62,16 @@ static const struct
 }
 cycle_multiplier_overrides[] =
 {
+       /* note: values are = (10000 / gui_option) */
        /* Internal Section - fussy about timings */
        { "SLPS01868", 202 },
        /* Super Robot Taisen Alpha - on the edge with 175,
         * changing memcard settings is enough to break/unbreak it */
        { "SLPS02528", 190 },
        { "SLPS02636", 190 },
+       /* Brave Fencer Musashi - cd sectors arrive too fast */
+       { "SLUS00726", 170 },
+       { "SLPS01490", 170 },
 #if defined(DRC_DISABLE) || defined(LIGHTREC) /* new_dynarec has a hack for this game */
        /* Parasite Eve II - internal timer checks */
        { "SLUS01042", 125 },
@@ -66,6 +79,16 @@ cycle_multiplier_overrides[] =
        { "SLES02558", 125 },
        { "SLES12558", 125 },
 #endif
+       /* Discworld Noir - audio skips if CPU runs too fast */
+       { "SLES01549", 222 },
+       { "SLES02063", 222 },
+       { "SLES02064", 222 },
+       /* Judge Dredd - could also be poor MDEC timing */
+       { "SLUS00630", 128 },
+       { "SLES00755", 128 },
+       /* Digimon World */
+       { "SLUS01032", 153 },
+       { "SLES02914", 153 },
 };
 
 /* Function for automatic patching according to GameID. */