summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2019-09-15 03:51:18 +0200
committerGitHub <noreply@github.com>2019-09-15 03:51:18 +0200
commit193bfefce4d40c9b3f244d416a0c24da276b0869 (patch)
treedea622189db37a91938c525476b975d462d7f220
parentRevert "Revert #2466" and stub FirmwareCall 4 (diff)
downloadyuzu-193bfefce4d40c9b3f244d416a0c24da276b0869.tar
yuzu-193bfefce4d40c9b3f244d416a0c24da276b0869.tar.gz
yuzu-193bfefce4d40c9b3f244d416a0c24da276b0869.tar.bz2
yuzu-193bfefce4d40c9b3f244d416a0c24da276b0869.tar.lz
yuzu-193bfefce4d40c9b3f244d416a0c24da276b0869.tar.xz
yuzu-193bfefce4d40c9b3f244d416a0c24da276b0869.tar.zst
yuzu-193bfefce4d40c9b3f244d416a0c24da276b0869.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/engines/maxwell_3d.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp
index f2cffd8ef..5f7738e7b 100644
--- a/src/video_core/engines/maxwell_3d.cpp
+++ b/src/video_core/engines/maxwell_3d.cpp
@@ -425,7 +425,8 @@ void Maxwell3D::ProcessMacroBind(u32 data) {
void Maxwell3D::ProcessFirmwareCall4() {
LOG_WARNING(HW_GPU, "(STUBBED) called");
- // For details refer to #2501
+ // Firmware call 4 is a blob that changes some registers depending on its parameters.
+ // These registers don't affect emulation and so are stubbed by setting 0xd00 to 1.
regs.reg_array[0xd00] = 1;
}