mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-03-28 11:16:52 +00:00
cpu_restore_state officially supports being passed an address it can't resolve the state for. As a result the checks in the helpers are superfluous and can be removed. This makes the code consistent with other users of cpu_restore_state. Of course this does nothing to address what to do if cpu_restore_state can't resolve the state but so far it seems this is handled elsewhere. The change was made with included coccinelle script. Backports commit 65255e8efdd5fca602bcc4ff61a879939ff75f4f from qemu |
||
---|---|---|
.. | ||
arm | ||
i386 | ||
m68k | ||
mips | ||
sparc |