diff options
| -rw-r--r-- | src/video_core/macro/macro_hle.cpp | 3 |
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, | |||
| 29 | } | 29 | } |
| 30 | maxwell3d.regs.index_array.count = 0; | 30 | maxwell3d.regs.index_array.count = 0; |
| 31 | maxwell3d.mme_draw.instance_count = 0; | 31 | maxwell3d.mme_draw.instance_count = 0; |
| 32 | maxwell3d.mme_draw.current_mode = Engines::Maxwell3D::MMEDrawMode::Undefined; | ||
| 32 | } | 33 | } |
| 33 | 34 | ||
| 34 | static void HLE_0D61FC9FAAC9FCAD(Engines::Maxwell3D& maxwell3d, | 35 | static void HLE_0D61FC9FAAC9FCAD(Engines::Maxwell3D& maxwell3d, |
| @@ -47,6 +48,7 @@ static void HLE_0D61FC9FAAC9FCAD(Engines::Maxwell3D& maxwell3d, | |||
| 47 | } | 48 | } |
| 48 | maxwell3d.regs.vertex_buffer.count = 0; | 49 | maxwell3d.regs.vertex_buffer.count = 0; |
| 49 | maxwell3d.mme_draw.instance_count = 0; | 50 | maxwell3d.mme_draw.instance_count = 0; |
| 51 | maxwell3d.mme_draw.current_mode = Engines::Maxwell3D::MMEDrawMode::Undefined; | ||
| 50 | } | 52 | } |
| 51 | 53 | ||
| 52 | static void HLE_0217920100488FF7(Engines::Maxwell3D& maxwell3d, | 54 | static void HLE_0217920100488FF7(Engines::Maxwell3D& maxwell3d, |
| @@ -76,6 +78,7 @@ static void HLE_0217920100488FF7(Engines::Maxwell3D& maxwell3d, | |||
| 76 | maxwell3d.CallMethodFromMME(0x8e3, 0x640); | 78 | maxwell3d.CallMethodFromMME(0x8e3, 0x640); |
| 77 | maxwell3d.CallMethodFromMME(0x8e4, 0x0); | 79 | maxwell3d.CallMethodFromMME(0x8e4, 0x0); |
| 78 | maxwell3d.CallMethodFromMME(0x8e5, 0x0); | 80 | maxwell3d.CallMethodFromMME(0x8e5, 0x0); |
| 81 | maxwell3d.mme_draw.current_mode = Engines::Maxwell3D::MMEDrawMode::Undefined; | ||
| 79 | } | 82 | } |
| 80 | 83 | ||
| 81 | static const std::array<std::pair<u64, HLEFunction>, 3> hle_funcs{ | 84 | static const std::array<std::pair<u64, HLEFunction>, 3> hle_funcs{ |