summaryrefslogtreecommitdiffstats
path: root/src/video_core/macro
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-07-17 04:16:08 +0200
committerLioncash <mathew1800@gmail.com>2020-07-17 04:16:11 +0200
commitbe6b7591d90fc54524d78ebb5351f68ded35f4be (patch)
treecc65598b5a109f82f1d1077f612e95486829a662 /src/video_core/macro
parentMerge pull request #4292 from bunnei/mii-rewrite (diff)
downloadyuzu-be6b7591d90fc54524d78ebb5351f68ded35f4be.tar
yuzu-be6b7591d90fc54524d78ebb5351f68ded35f4be.tar.gz
yuzu-be6b7591d90fc54524d78ebb5351f68ded35f4be.tar.bz2
yuzu-be6b7591d90fc54524d78ebb5351f68ded35f4be.tar.lz
yuzu-be6b7591d90fc54524d78ebb5351f68ded35f4be.tar.xz
yuzu-be6b7591d90fc54524d78ebb5351f68ded35f4be.tar.zst
yuzu-be6b7591d90fc54524d78ebb5351f68ded35f4be.zip
Diffstat (limited to 'src/video_core/macro')
-rw-r--r--src/video_core/macro/macro_hle.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/macro/macro_hle.cpp b/src/video_core/macro/macro_hle.cpp
index 410f99018..37f784a35 100644
--- a/src/video_core/macro/macro_hle.cpp
+++ b/src/video_core/macro/macro_hle.cpp
@@ -17,8 +17,7 @@ static void HLE_771BB18C62444DA0(Engines::Maxwell3D& maxwell3d,
const u32 instance_count = parameters[2] & maxwell3d.GetRegisterValue(0xD1B);
maxwell3d.regs.draw.topology.Assign(
- static_cast<Tegra::Engines::Maxwell3D::Regs::PrimitiveTopology>(parameters[0] &
- ~(0x3ffffff << 26)));
+ static_cast<Tegra::Engines::Maxwell3D::Regs::PrimitiveTopology>(parameters[0] & 0x3ffffff));
maxwell3d.regs.vb_base_instance = parameters[5];
maxwell3d.mme_draw.instance_count = instance_count;
maxwell3d.regs.vb_element_base = parameters[3];