mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
Allows Wii Menu to change progressive scan setting
This commit is contained in:
parent
ebe174a88b
commit
8bd5e09084
1 changed files with 5 additions and 2 deletions
|
@ -208,11 +208,14 @@ static void RestoreSYSCONF()
|
||||||
{
|
{
|
||||||
std::visit(
|
std::visit(
|
||||||
[&](auto* info) {
|
[&](auto* info) {
|
||||||
if (overrides.find(info->GetLocation()) != overrides.end())
|
//Check if the current game is the Wii menu, since it should be the only one
|
||||||
|
//allowed to actively change SYSCONF settings
|
||||||
|
if (overrides.find(info->GetLocation()) != overrides.end() &&
|
||||||
|
SConfig::GetInstance().GetGameID() != "0000000100000002") // Wii Menu ID
|
||||||
{
|
{
|
||||||
Config::SetBase(*info, Config::Get(*info));
|
Config::SetBase(*info, Config::Get(*info));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// If this setting was overridden, then we copy the base layer value back to the SYSCONF.
|
// If this setting was overridden, then we copy the base layer value back to the SYSCONF.
|
||||||
// Otherwise we leave the new value in the SYSCONF.
|
// Otherwise we leave the new value in the SYSCONF.
|
||||||
else if (Config::GetActiveLayerForConfig(*info) == Config::LayerType::Base)
|
else if (Config::GetActiveLayerForConfig(*info) == Config::LayerType::Base)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue