mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
improve 64bit portability
for win64 mostly
This commit is contained in:
parent
a0b95da112
commit
48c9e01be8
14 changed files with 42 additions and 26 deletions
|
@ -58,7 +58,7 @@ static void convert_pal555(int invert_prio)
|
|||
unsigned short t; \
|
||||
int i; \
|
||||
for (i = 320; i > 0; i--, pd++, p32x++, pmd++) { \
|
||||
t = pal[*(unsigned char *)((long)p32x ^ 1)]; \
|
||||
t = pal[*(unsigned char *)((uintptr_t)p32x ^ 1)]; \
|
||||
if ((t & 0x20) || (*pmd & 0x3f) == mdbg) \
|
||||
*pd = t; \
|
||||
else \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue