CC = $(CROSS_COMPILE)gcc
AS = $(CROSS_COMPILE)as
STRIP = $(CROSS_COMPILE)strip
-TFLAGS = -Winline -Izlib -DLSB_FIRST -DUNIX -DPSS_STYLE=1 -DHAVE_ASPRINTF -DZLIB -DFRAMESKIP -D_REENTRANT
+TFLAGS += -Winline -Izlib -DLSB_FIRST -DUNIX -DPSS_STYLE=1 -DHAVE_ASPRINTF -DZLIB -DFRAMESKIP -D_REENTRANT
+TFLAGS += -Wno-pointer-sign
RM = rm -f
A = drivers/arm/
C = drivers/common/
#CROSS_COMPILE =
CC = $(CROSS_COMPILE)gcc
STRIP = $(CROSS_COMPILE)strip
-TFLAGS = -Winline -Izlib -DLSB_FIRST -DUNIX -DPSS_STYLE=1 -DHAVE_ASPRINTF -DZLIB -DFRAMESKIP -D_REENTRANT `sdl-config --cflags`
+TFLAGS += -Winline -Izlib -DLSB_FIRST -DUNIX -DPSS_STYLE=1 -DHAVE_ASPRINTF -DZLIB -DFRAMESKIP -D_REENTRANT `sdl-config --cflags`
+TFLAGS += -Wno-pointer-sign -Wno-parentheses
RM = rm -f
C = drivers/common/
L = drivers/libpicofe/
if(CHRram[r])
PPUCHRRAM|=(255);
else
- PPUCHRRAM&=~(255);
+ PPUCHRRAM&=0;
}
void FASTAPASS(2) setchr1(unsigned int A, unsigned int V)
void FASTAPASS(3) FCEU_memmove(void *d, void *s, uint32 l)
{
uint32 x;
- int t;
+ long t;
/* Type really doesn't matter. */
- t=(int)d;
- t|=(int)s;
- t|=(int)l;
+ t=(long)d;
+ t|=(long)s;
+ t|=(long)l;
if(t&3) // Not 4-byte aligned and/or length is not a multiple of 4.
{
case DES_RESET:if(netplay!=2) CommandQueue=30;break;
case DES_POWER:if(netplay!=2) CommandQueue=31;break;
- case DES_VSUNIDIPSET:CommandQueue=10+(int)d;break;
+ case DES_VSUNIDIPSET:CommandQueue=10+(long)d;break;
case DES_VSUNITOGGLEDIPVIEW:CommandQueue=10;break;
case DES_VSUNICOIN:CommandQueue=19;break;
#if 0