summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid <25727384+ogniK5377@users.noreply.github.com>2020-07-17 05:13:05 +0200
committerGitHub <noreply@github.com>2020-07-17 05:13:05 +0200
commit3ce4edba6448ae0f544bed4291cef3e8c3e991f5 (patch)
tree4a34aabc9c2f982338c5b7d8d3575dee0bc7425a /src
parentMerge pull request #4363 from lioncash/mismatch (diff)
parentmacro_hle: Simplify shift expression in HLE_771BB18C62444DA0() (diff)
downloadyuzu-3ce4edba6448ae0f544bed4291cef3e8c3e991f5.tar
yuzu-3ce4edba6448ae0f544bed4291cef3e8c3e991f5.tar.gz
yuzu-3ce4edba6448ae0f544bed4291cef3e8c3e991f5.tar.bz2
yuzu-3ce4edba6448ae0f544bed4291cef3e8c3e991f5.tar.lz
yuzu-3ce4edba6448ae0f544bed4291cef3e8c3e991f5.tar.xz
yuzu-3ce4edba6448ae0f544bed4291cef3e8c3e991f5.tar.zst
yuzu-3ce4edba6448ae0f544bed4291cef3e8c3e991f5.zip
Diffstat (limited to 'src')
-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];