From ea02a7d05d76165dfdf1648f0123631514369166 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Fri, 25 Jun 2021 22:09:39 +0100 Subject: [PATCH] conditional_state: Break from translation when invalid NV instruction is hit --- src/dynarmic/frontend/A32/translate/conditional_state.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dynarmic/frontend/A32/translate/conditional_state.cpp b/src/dynarmic/frontend/A32/translate/conditional_state.cpp index 9ed61a9c..916e756b 100644 --- a/src/dynarmic/frontend/A32/translate/conditional_state.cpp +++ b/src/dynarmic/frontend/A32/translate/conditional_state.cpp @@ -32,6 +32,7 @@ bool IsConditionPassed(TranslatorVisitor& v, IR::Cond cond) { if (cond == IR::Cond::NV) { // NV conditional is obsolete + v.cond_state = ConditionalState::Break; v.RaiseException(Exception::UnpredictableInstruction); return false; }