mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
fix yet another portability issue
This commit is contained in:
parent
95049eea1c
commit
add51c49ec
2 changed files with 7 additions and 6 deletions
|
@ -45,7 +45,8 @@ void cpu68k_map_set(uptr *map, int start_addr, int end_addr,
|
|||
void cpu68k_map_all_ram(int start_addr, int end_addr, void *ptr, int is_sub);
|
||||
void m68k_map_unmap(int start_addr, int end_addr);
|
||||
|
||||
#define map_flag_set(x) ((x) & ((uptr)1 << (sizeof(uptr) * 8 - 1)))
|
||||
#define MAP_FLAG ((uptr)1 << (sizeof(uptr) * 8 - 1))
|
||||
#define map_flag_set(x) ((x) & MAP_FLAG)
|
||||
|
||||
#define MAKE_68K_READ8(name, map) \
|
||||
u32 name(u32 a) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue