COMMON: Use Common::String for OSystem::setShader

This commit is contained in:
Cameron Cawley 2022-08-07 21:50:52 +01:00 committed by Eugene Sandulenko
parent a2c65a4521
commit 79fff69231
7 changed files with 8 additions and 9 deletions

View file

@ -740,7 +740,7 @@ void OptionsDialog::apply() {
g_system->setGraphicsMode(ConfMan.get("gfx_mode", _domain).c_str());
g_system->setStretchMode(ConfMan.get("stretch_mode", _domain).c_str());
g_system->setScaler(ConfMan.get("scaler", _domain).c_str(), ConfMan.getInt("scale_factor", _domain));
g_system->setShader(Common::FSNode(ConfMan.get("shader", _domain)));
g_system->setShader(ConfMan.get("shader", _domain));
if (ConfMan.hasKey("aspect_ratio"))
g_system->setFeatureState(OSystem::kFeatureAspectRatioCorrection, ConfMan.getBool("aspect_ratio", _domain));