samsptk: use cheat instead of extra depth scale
Use a cheat to fix the game bug instead of dealing with ginormous depth values.
This commit is contained in:
parent
d9d91381b5
commit
434083c716
|
@ -505,6 +505,12 @@ void CheatManager::reset(const std::string& gameId)
|
|||
cheats.emplace_back(Cheat::Type::setValue, "increase datapump timeout", true, 16, 0x00135588, 1000);
|
||||
cheats.back().builtIn = true;
|
||||
}
|
||||
else if (gameId == "SAMURAI SPIRITS 6" || gameId == "T0002M")
|
||||
{
|
||||
setActive(true);
|
||||
cheats.emplace_back(Cheat::Type::setValue, "fix depth", true, 16, 0x0003e602, 0x0009); // nop (shift by 8 bits instead of 10)
|
||||
cheats.back().builtIn = true;
|
||||
}
|
||||
}
|
||||
if (config::WidescreenGameHacks)
|
||||
{
|
||||
|
|
|
@ -157,12 +157,6 @@ static void loadSpecialSettings()
|
|||
INFO_LOG(BOOT, "Enabling Extra depth scaling for game %s", prod_id.c_str());
|
||||
config::ExtraDepthScale.override(100.f);
|
||||
}
|
||||
// Samurai Shodown 6 dc port
|
||||
else if (prod_id == "T0002M")
|
||||
{
|
||||
INFO_LOG(BOOT, "Enabling Extra depth scaling for game %s", prod_id.c_str());
|
||||
config::ExtraDepthScale.override(1e26f);
|
||||
}
|
||||
// Test Drive V-Rally
|
||||
else if (prod_id == "T15110N" || prod_id == "T15105D 50")
|
||||
{
|
||||
|
@ -297,11 +291,6 @@ static void loadSpecialSettings()
|
|||
}
|
||||
else if (settings.platform.isArcade())
|
||||
{
|
||||
if (prod_id == "SAMURAI SPIRITS 6")
|
||||
{
|
||||
INFO_LOG(BOOT, "Enabling Extra depth scaling for game %s", prod_id.c_str());
|
||||
config::ExtraDepthScale.override(1e26f);
|
||||
}
|
||||
if (prod_id == "COSMIC SMASH IN JAPAN")
|
||||
{
|
||||
INFO_LOG(BOOT, "Enabling translucent depth multipass for game %s", prod_id.c_str());
|
||||
|
|
Loading…
Reference in New Issue