# | Line 119 | Line 119 | const uintptr MEMBaseDiff = 0; | |
---|---|---|
119 | extern uintptr MEMBaseDiff; | |
120 | #endif | |
121 | ||
122 | + | #if REAL_ADDRESSING || DIRECT_ADDRESSING |
123 | static __inline__ uae_u8 *do_get_real_address(uaecptr addr) | |
124 | { | |
125 | return (uae_u8 *)MEMBaseDiff + addr; | |
# | Line 127 | Line 128 | static __inline__ uae_u32 do_get_virtual | |
128 | { | |
129 | return (uintptr)addr - MEMBaseDiff; | |
130 | } | |
130 | – | |
131 | – | #if REAL_ADDRESSING || DIRECT_ADDRESSING |
131 | static __inline__ uae_u32 get_long(uaecptr addr) | |
132 | { | |
133 | uae_u32 * const m = (uae_u32 *)do_get_real_address(addr); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |