diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-11-17 19:20:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-17 19:20:18 -0500 |
commit | e5a446a0df56d447e94c9afa98d52ff576a1aa66 (patch) | |
tree | c0770bffcff6edb00c8ab503a719d3b7ab8a037e /src/video_core/macro | |
parent | 0e61d711e262ce464401c9ab18433e8b76e6dbe6 (diff) | |
parent | 6fa3faec658893c9fae19116232d24dac08babc7 (diff) |
Merge pull request #9229 from Docteh/achy_breaky_heart
Add break for default cases
Diffstat (limited to 'src/video_core/macro')
-rw-r--r-- | src/video_core/macro/macro_interpreter.cpp | 2 | ||||
-rw-r--r-- | src/video_core/macro/macro_jit_x64.cpp | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/macro/macro_interpreter.cpp b/src/video_core/macro/macro_interpreter.cpp index c0d32c112..0d63495a9 100644 --- a/src/video_core/macro/macro_interpreter.cpp +++ b/src/video_core/macro/macro_interpreter.cpp @@ -201,6 +201,7 @@ bool MacroInterpreterImpl::Step(bool is_delay_slot) { } default: UNIMPLEMENTED_MSG("Unimplemented macro operation {}", opcode.operation.Value()); + break; } // An instruction with the Exit flag will not actually @@ -297,6 +298,7 @@ void MacroInterpreterImpl::ProcessResult(Macro::ResultOperation operation, u32 r break; default: UNIMPLEMENTED_MSG("Unimplemented result operation {}", operation); + break; } } diff --git a/src/video_core/macro/macro_jit_x64.cpp b/src/video_core/macro/macro_jit_x64.cpp index 25c1ce798..7347cbd88 100644 --- a/src/video_core/macro/macro_jit_x64.cpp +++ b/src/video_core/macro/macro_jit_x64.cpp @@ -652,6 +652,7 @@ void MacroJITx64Impl::Compile_ProcessResult(Macro::ResultOperation operation, u3 break; default: UNIMPLEMENTED_MSG("Unimplemented macro operation {}", operation); + break; } } |