summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-05-19 22:04:44 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2019-05-19 22:04:44 +0200
commit911fafb967b3e35114415a945d4664764868fd1b (patch)
tree5750a24ba00d7dffe79d8a6488878c1b6d33a5f4 /src/video_core
parentMerge pull request #2441 from ReinUsesLisp/al2p (diff)
downloadyuzu-911fafb967b3e35114415a945d4664764868fd1b.tar
yuzu-911fafb967b3e35114415a945d4664764868fd1b.tar.gz
yuzu-911fafb967b3e35114415a945d4664764868fd1b.tar.bz2
yuzu-911fafb967b3e35114415a945d4664764868fd1b.tar.lz
yuzu-911fafb967b3e35114415a945d4664764868fd1b.tar.xz
yuzu-911fafb967b3e35114415a945d4664764868fd1b.tar.zst
yuzu-911fafb967b3e35114415a945d4664764868fd1b.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/macro_interpreter.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/macro_interpreter.cpp b/src/video_core/macro_interpreter.cpp
index fbea107ca..c766ed692 100644
--- a/src/video_core/macro_interpreter.cpp
+++ b/src/video_core/macro_interpreter.cpp
@@ -120,7 +120,9 @@ bool MacroInterpreter::Step(u32 offset, bool is_delay_slot) {
// An instruction with the Exit flag will not actually
// cause an exit if it's executed inside a delay slot.
- if (opcode.is_exit && !is_delay_slot) {
+ // TODO(Blinkhawk): Reversed to always exit. The behavior explained above requires further
+ // testing on the MME code.
+ if (opcode.is_exit) {
// Exit has a delay slot, execute the next instruction
Step(offset, true);
return false;