mirror of
https://github.com/azahar-emu/dynarmic.git
synced 2026-03-20 12:41:02 +01:00
TranslateArm: Add santity check to see if we've emitted a terminal instruction
This commit is contained in:
@@ -46,6 +46,8 @@ IR::Block TranslateArm(LocationDescriptor descriptor, MemoryRead32FuncType memor
|
||||
visitor.ir.block.cond_failed = { visitor.ir.current_location };
|
||||
}
|
||||
|
||||
ASSERT_MSG(visitor.ir.block.terminal.which() != 0, "Terminal has not been set");
|
||||
|
||||
return std::move(visitor.ir.block);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user