Search
lxdream.org :: lxdream/src/sh4/ia64abi.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/ia64abi.h
changeset 599:2a73a1a53032
prev596:dfc0c93d882e
next604:1024c3a9cb88
author nkeynes
date Tue Jan 22 10:11:45 2008 +0000 (16 years ago)
permissions -rw-r--r--
last change Invoke emulator single-step for untranslatable delay slots (and fix a few
related bugs)
file annotate diff log raw
1.1 --- a/src/sh4/ia64abi.h Mon Jan 21 11:59:46 2008 +0000
1.2 +++ b/src/sh4/ia64abi.h Tue Jan 22 10:11:45 2008 +0000
1.3 @@ -243,7 +243,7 @@
1.4 load_imm32( R_EDX, sh4_x86.backpatch_list[i].fixup_icount );
1.5 int stack_adj = -1 - sh4_x86.backpatch_list[i].exc_code;
1.6 if( stack_adj > 0 ) {
1.7 - ADD_imm8s_r32( stack_adj, R_ESP );
1.8 + ADD_imm8s_r32( stack_adj*4, R_ESP );
1.9 }
1.10 int rel = preexc_ptr - xlat_output;
1.11 JMP_rel(rel);
.