mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-24 13:55:34 +00:00
arm: Remove hw_error() usages.
All of these hw_errors are fatal and indicate something wrong with QEMU implementation. Convert to g_assert_not_reached. Backports commit 8f6fd322f6e25995629a1a07b56bc5b91fb947ca from qemu
This commit is contained in:
parent
1b88e0e8c8
commit
83aa10f77d
|
@ -4370,7 +4370,7 @@ int bank_number(int mode)
|
||||||
case ARM_CPU_MODE_MON:
|
case ARM_CPU_MODE_MON:
|
||||||
return 7;
|
return 7;
|
||||||
}
|
}
|
||||||
//hw_error("bank number requested for bad CPSR mode value 0x%x\n", mode);
|
g_assert_not_reached();
|
||||||
}
|
}
|
||||||
|
|
||||||
void switch_mode(CPUARMState *env, int mode)
|
void switch_mode(CPUARMState *env, int mode)
|
||||||
|
|
Loading…
Reference in a new issue