Skip to content

Commit

Permalink
disable native depth interp for mortal kombat. force JP for vonot
Browse files Browse the repository at this point in the history
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
  • Loading branch information
flyinghead committed Jun 5, 2024
1 parent 021249c commit bfe0966
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions core/emulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
{
Expand All @@ -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);
}
}
}

Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit bfe0966

Please sign in to comment.