--- a/src/sh4/ia32mac.h Fri Jan 25 05:38:26 2008 +0000 +++ b/src/sh4/ia32mac.h Mon May 12 10:00:13 2008 +0000 @@ -123,7 +123,7 @@ { PUSH_r32(R_EBP); /* mov &sh4r, ebp */ - load_ptr( R_EBP, &sh4r ); + load_ptr( R_EBP, ((uint8_t *)&sh4r) + 128 ); sh4_x86.in_delay_slot = FALSE; sh4_x86.priv_checked = FALSE; @@ -306,7 +306,7 @@ "frame_found: movl 0x4(%%eax), %0\n" "frame_not_found:" : "=r" (result) - : "r" (&sh4r) + : "r" (((uint8_t *)&sh4r) + 128 ) : "eax", "ecx", "edx" ); return result; }