summaryrefslogtreecommitdiff
path: root/src/video_core/macro_interpreter.cpp
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2019-08-31 17:43:19 -0300
committerGravatar ReinUsesLisp2019-09-04 01:55:45 -0300
commit5f309b88db87e479378ea4695fe69a99fd8e2919 (patch)
tree618d04864352c9cf992b3a74c42793aa7ec966f4 /src/video_core/macro_interpreter.cpp
parentMerge pull request #2835 from chris062689/master (diff)
downloadyuzu-5f309b88db87e479378ea4695fe69a99fd8e2919.tar.gz
yuzu-5f309b88db87e479378ea4695fe69a99fd8e2919.tar.xz
yuzu-5f309b88db87e479378ea4695fe69a99fd8e2919.zip
Revert "Revert #2466" and stub FirmwareCall 4
Diffstat (limited to 'src/video_core/macro_interpreter.cpp')
-rw-r--r--src/video_core/macro_interpreter.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/video_core/macro_interpreter.cpp b/src/video_core/macro_interpreter.cpp
index 9f59a2dc1..a891e412a 100644
--- a/src/video_core/macro_interpreter.cpp
+++ b/src/video_core/macro_interpreter.cpp
@@ -124,9 +124,7 @@ bool MacroInterpreter::Step(u32 offset, bool is_delay_slot) {
124 124
125 // An instruction with the Exit flag will not actually 125 // An instruction with the Exit flag will not actually
126 // cause an exit if it's executed inside a delay slot. 126 // cause an exit if it's executed inside a delay slot.
127 // TODO(Blinkhawk): Reversed to always exit. The behavior explained above requires further 127 if (opcode.is_exit && !is_delay_slot) {
128 // testing on the MME code.
129 if (opcode.is_exit) {
130 // Exit has a delay slot, execute the next instruction 128 // Exit has a delay slot, execute the next instruction
131 Step(offset, true); 129 Step(offset, true);
132 return false; 130 return false;