summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2020-06-05 06:00:00 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2020-06-24 04:09:04 +0200
commit52340e94ac5a64572643f01a23316ad492a40f66 (patch)
tree90bcb032ff2c721efe98e66af671977ce8de9da6 /src/video_core
parentAddressed issues (diff)
downloadyuzu-52340e94ac5a64572643f01a23316ad492a40f66.tar
yuzu-52340e94ac5a64572643f01a23316ad492a40f66.tar.gz
yuzu-52340e94ac5a64572643f01a23316ad492a40f66.tar.bz2
yuzu-52340e94ac5a64572643f01a23316ad492a40f66.tar.lz
yuzu-52340e94ac5a64572643f01a23316ad492a40f66.tar.xz
yuzu-52340e94ac5a64572643f01a23316ad492a40f66.tar.zst
yuzu-52340e94ac5a64572643f01a23316ad492a40f66.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/macro/macro_hle.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/macro/macro_hle.cpp b/src/video_core/macro/macro_hle.cpp
index 1f1348df3..689533f6a 100644
--- a/src/video_core/macro/macro_hle.cpp
+++ b/src/video_core/macro/macro_hle.cpp
@@ -29,6 +29,7 @@ static void HLE_771BB18C62444DA0(Engines::Maxwell3D& maxwell3d,
}
maxwell3d.regs.index_array.count = 0;
maxwell3d.mme_draw.instance_count = 0;
+ maxwell3d.mme_draw.current_mode = Engines::Maxwell3D::MMEDrawMode::Undefined;
}
static void HLE_0D61FC9FAAC9FCAD(Engines::Maxwell3D& maxwell3d,
@@ -47,6 +48,7 @@ static void HLE_0D61FC9FAAC9FCAD(Engines::Maxwell3D& maxwell3d,
}
maxwell3d.regs.vertex_buffer.count = 0;
maxwell3d.mme_draw.instance_count = 0;
+ maxwell3d.mme_draw.current_mode = Engines::Maxwell3D::MMEDrawMode::Undefined;
}
static void HLE_0217920100488FF7(Engines::Maxwell3D& maxwell3d,
@@ -76,6 +78,7 @@ static void HLE_0217920100488FF7(Engines::Maxwell3D& maxwell3d,
maxwell3d.CallMethodFromMME(0x8e3, 0x640);
maxwell3d.CallMethodFromMME(0x8e4, 0x0);
maxwell3d.CallMethodFromMME(0x8e5, 0x0);
+ maxwell3d.mme_draw.current_mode = Engines::Maxwell3D::MMEDrawMode::Undefined;
}
static const std::array<std::pair<u64, HLEFunction>, 3> hle_funcs{