From 5c6ee953d03f105e5a84a8af315537cb21ef4a4b Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 13 Dec 2020 00:47:22 +1000 Subject: [PATCH] libretro: Update compatibility settings --- .../libretro_game_settings.cpp | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/src/duckstation-libretro/libretro_game_settings.cpp b/src/duckstation-libretro/libretro_game_settings.cpp index fd8e69fac..4794fbcdc 100644 --- a/src/duckstation-libretro/libretro_game_settings.cpp +++ b/src/duckstation-libretro/libretro_game_settings.cpp @@ -557,5 +557,47 @@ std::unique_ptr GetSettingsForGame(const std::string& game_ return gs; } + if (game_code == "SLUS-00292") + { + gs->AddTrait(GameSettings::Trait::ForceRecompilerICache); + return gs; + } + + if (game_code == "SLUS-00522") + { + gs->dma_max_slice_ticks = 200; + return gs; + } + + if (game_code == "SLES-00469") + { + gs->dma_max_slice_ticks = 100; + return gs; + } + + if (game_code == "SLPS-01163") + { + gs->dma_max_slice_ticks = 100; + return gs; + } + + if (game_code == "SLUS-00498") + { + gs->dma_max_slice_ticks = 100; + return gs; + } + + if (game_code == "SLPS-00433") + { + gs->dma_max_slice_ticks = 100; + return gs; + } + + if (game_code == "SLUS-01029") + { + gs->AddTrait(GameSettings::Trait::DisableAnalogModeForcing); + return gs; + } + return {}; }