summaryrefslogtreecommitdiffstats
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2023-08-28 01:37:40 +0200
committerLiam <byteslice@airmail.cc>2023-09-16 17:59:20 +0200
commitb99f94a7ffab0698f209bf1b39d337940bc40e50 (patch)
treee5d3c3348ea579760276b6d7bb7fd10a98fe0910 /src/core/core.cpp
parentVulkan: Implement Depth Bias Control (diff)
downloadyuzu-b99f94a7ffab0698f209bf1b39d337940bc40e50.tar
yuzu-b99f94a7ffab0698f209bf1b39d337940bc40e50.tar.gz
yuzu-b99f94a7ffab0698f209bf1b39d337940bc40e50.tar.bz2
yuzu-b99f94a7ffab0698f209bf1b39d337940bc40e50.tar.lz
yuzu-b99f94a7ffab0698f209bf1b39d337940bc40e50.tar.xz
yuzu-b99f94a7ffab0698f209bf1b39d337940bc40e50.tar.zst
yuzu-b99f94a7ffab0698f209bf1b39d337940bc40e50.zip
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index e8300cd05..08cbb8978 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -381,6 +381,10 @@ struct System::Impl {
room_member->SendGameInfo(game_info);
}
+ // Workarounds:
+ // Activate this in Super Smash Brothers Ultimate, it only affects AMD cards using AMDVLK
+ Settings::values.renderer_amdvlk_depth_bias_workaround = program_id == 0x1006A800016E000ULL;
+
status = SystemResultStatus::Success;
return status;
}
@@ -440,6 +444,9 @@ struct System::Impl {
room_member->SendGameInfo(game_info);
}
+ // Workarounds
+ Settings::values.renderer_amdvlk_depth_bias_workaround = false;
+
LOG_DEBUG(Core, "Shutdown OK");
}