add a nasty hack for gpu busy timing
[pcsx_rearmed.git] / libpcsxcore / database.c
index 5edb961..5276b92 100644 (file)
@@ -30,6 +30,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 +50,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,6 +60,7 @@ 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,
@@ -73,6 +81,12 @@ cycle_multiplier_overrides[] =
        { "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. */