mirror of
https://github.com/azahar-emu/dynarmic.git
synced 2026-05-05 02:32:43 +02:00
conditional_state: Break from translation when invalid NV instruction is hit
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user