set extra depth scale back to 0.1 for Caesars Palace 2000

Fixes pause menu background transparency in video keno game.
Regression introduced by cc1b45b7cc
Issue #1236
This commit is contained in:
Flyinghead 2023-10-11 14:42:35 +02:00
parent 07d761a880
commit 2f524923da
1 changed files with 4 additions and 2 deletions

View File

@ -153,7 +153,9 @@ static void loadSpecialSettings()
config::ExtraDepthScale.override(1e26f);
}
// Test Drive V-Rally
else if (prod_id == "T15110N" || prod_id == "T15105D 50")
else if (prod_id == "T15110N" || prod_id == "T15105D 50"
// Caesars Palace 2000
|| prod_id == "T-12504N" || prod_id == "12502D-50")
{
INFO_LOG(BOOT, "Enabling Extra depth scaling for game %s", prod_id.c_str());
config::ExtraDepthScale.override(0.1f);
@ -807,7 +809,7 @@ void loadGameSpecificSettings()
// Reload per-game settings
config::Settings::instance().load(true);
if (config::ForceWindowsCE)
if (config::ForceWindowsCE && !config::ExtraDepthScale.isReadOnly())
config::ExtraDepthScale.override(WINCE_DEPTH_SCALE);
}