From bfe09667f4ff0f94c3d275b185eb736093a38cd7 Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Wed, 5 Jun 2024 15:53:08 +0200 Subject: [PATCH] disable native depth interp for mortal kombat. force JP for vonot Revert (again) forcing native depth interp for AMD gpus Disable native depth interpolation for Mortal Kombat Issue #1145 Force Japanese bios for vonot Issue #1542 --- core/emulator.cpp | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/core/emulator.cpp b/core/emulator.cpp index b33e87c6e0..26958353bf 100644 --- a/core/emulator.cpp +++ b/core/emulator.cpp @@ -287,6 +287,12 @@ static void loadSpecialSettings() NOTICE_LOG(BOOT, "Forcing English Language"); config::Language.override(1); } + if (prod_id == "T-9701N" // Mortal Kombat (US) + || prod_id == "T9701D") // Mortal Kombat (EU) + { + NOTICE_LOG(BOOT, "Disabling Native Depth Interpolation"); + config::NativeDepthInterpolation.override(false); + } } else if (settings.platform.isArcade()) { @@ -308,6 +314,10 @@ static void loadSpecialSettings() INFO_LOG(BOOT, "Disabling Free Play for game %s", prod_id.c_str()); config::ForceFreePlay.override(false); } + if (prod_id == "VIRTUAL-ON ORATORIO TANGRAM") { + INFO_LOG(BOOT, "Forcing Japan region for game %s", prod_id.c_str()); + config::Region.override(0); + } } } @@ -705,10 +715,6 @@ void Emulator::requestReset() void loadGameSpecificSettings() { - // Graphics context isn't available yet in libretro - if (GraphicsContext::Instance() != nullptr && GraphicsContext::Instance()->isAMD()) - config::NativeDepthInterpolation.override(true); - if (settings.platform.isConsole()) { reios_disk_id();