filename | src/sh4/ia32mac.h |
changeset | 669:ab344e42bca9 |
prev | 605:6ecdb604306b |
next | 736:a02d1475ccfd |
author | nkeynes |
date | Thu Jun 19 04:40:37 2008 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Refactor the gd-rom list management out of the GUI (devices, recent files, etc). Add gd-rom list to the cocoa UI. |
file | annotate | diff | log | raw |
1.1 --- a/src/sh4/ia32mac.h Fri Jan 25 05:38:26 2008 +00001.2 +++ b/src/sh4/ia32mac.h Thu Jun 19 04:40:37 2008 +00001.3 @@ -123,7 +123,7 @@1.4 {1.5 PUSH_r32(R_EBP);1.6 /* mov &sh4r, ebp */1.7 - load_ptr( R_EBP, &sh4r );1.8 + load_ptr( R_EBP, ((uint8_t *)&sh4r) + 128 );1.10 sh4_x86.in_delay_slot = FALSE;1.11 sh4_x86.priv_checked = FALSE;1.12 @@ -306,7 +306,7 @@1.13 "frame_found: movl 0x4(%%eax), %0\n"1.14 "frame_not_found:"1.15 : "=r" (result)1.16 - : "r" (&sh4r)1.17 + : "r" (((uint8_t *)&sh4r) + 128 )1.18 : "eax", "ecx", "edx" );1.19 return result;1.20 }
.