Mercurial > audlegacy-plugins
diff src/sexypsf/PsxMem.h @ 1568:8a4fbe599b05
sexypsf: clean up symbol namespace
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Sun, 02 Sep 2007 21:55:07 -0500 |
parents | 3da1b8942b8b |
children |
line wrap: on
line diff
--- a/src/sexypsf/PsxMem.h Mon Sep 03 01:02:31 2007 +0200 +++ b/src/sexypsf/PsxMem.h Sun Sep 02 21:55:07 2007 -0500 @@ -49,21 +49,21 @@ static INLINE s16 BFLIP16S(s16 x) { return (s16)BFLIP16((u16)x); } -char *psxM; +extern char *psxM; #define psxMu32(mem) (*(u32*)&psxM[(mem) & 0x1fffff]) -char *psxP; -char *psxR; +extern char *psxP; +extern char *psxR; #define psxRu32(mem) (*(u32*)&psxR[(mem) & 0x7ffff]) -char *psxH; +extern char *psxH; #define psxHu8(mem) (*(u8*) &psxH[(mem) & 0xffff]) #define psxHu16(mem) (*(u16*)&psxH[(mem) & 0xffff]) #define psxHu32(mem) (*(u32*)&psxH[(mem) & 0xffff]) -char **psxMemLUT; +extern char **psxMemLUT; #define PSXM(mem) (psxMemLUT[(mem) >> 16] == 0 ? NULL : (void*)(psxMemLUT[(mem) >> 16] + ((mem) & 0xffff)))