Mercurial > audlegacy
changeset 410:548073bede0b trunk
[svn] Experimental fix for the 56 warnings emitted by GCC4 when it encounters PsxBios.c; by an anonymous contributor. Stability to be assessed in the coming weeks.
author | chainsaw |
---|---|
date | Sun, 08 Jan 2006 16:49:05 -0800 |
parents | bbbbfd16996c |
children | b13e87374f73 |
files | Plugins/Input/sexypsf/PsxMem.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugins/Input/sexypsf/PsxMem.h Sun Jan 08 16:03:37 2006 -0800 +++ b/Plugins/Input/sexypsf/PsxMem.h Sun Jan 08 16:49:05 2006 -0800 @@ -57,7 +57,7 @@ char **psxMemLUT; -#define PSXM(mem) (psxMemLUT[(mem) >> 16] == 0 ? NULL : (void*)(psxMemLUT[(mem) >> 16] + ((mem) & 0xffff))) +#define PSXM(mem) (psxMemLUT[(mem) >> 16] == 0 ? "" : (void*)(psxMemLUT[(mem) >> 16] + ((mem) & 0xffff))) #define PSXMu8(mem) (*(u8 *)PSXM(mem)) #define PSXMu32(mem) (*(u32*)PSXM(mem))