mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-08 16:10:05 +01:00
A32/ir_emitter: Bugfix: ExceptionRaised was producing incorrect PC
Use actual PC and not pipelined PC.
This commit is contained in:
parent
d69fceec55
commit
2524d536b0
@ -87,7 +87,7 @@ void IREmitter::CallSupervisor(const IR::U32& value) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void IREmitter::ExceptionRaised(const Exception exception) {
|
void IREmitter::ExceptionRaised(const Exception exception) {
|
||||||
Inst(Opcode::A32ExceptionRaised, Imm32(PC()), Imm64(static_cast<u64>(exception)));
|
Inst(Opcode::A32ExceptionRaised, Imm32(current_location.PC()), Imm64(static_cast<u64>(exception)));
|
||||||
}
|
}
|
||||||
|
|
||||||
IR::U32 IREmitter::GetCpsr() {
|
IR::U32 IREmitter::GetCpsr() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user