linux compile fixed

git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@235 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2007-09-02 09:35:22 +00:00
parent dc1782adbd
commit bd1806ca32
2 changed files with 6 additions and 8 deletions

View file

@ -56,9 +56,7 @@ OBJS += ../../cpu/mz80/mz80.o
# faked asm
#DEFINC += -D_ASM_DRAW_C
#DEFINC += -D_ASM_MEMORY_C
#DEFINC += -D_ASM_YM2612_C
OBJS += fakedasm.o
#OBJS += fakedasm.o
all: PicoDrive
@ -100,7 +98,7 @@ PicoDrive : $(OBJS) ../gp2x/helix/helix_mp3_x86.a
@$(GCC) $(COPT_COMMON) $(DEFINC) -c $< -o $@ # -mtune=arm940t -DEXTERNAL_YM2612
# faked asm
../../Pico/Draw.o : ../../Pico/Draw.c
@echo $<
@$(GCC) $(COPT) $(DEFINC) -D_ASM_DRAW_C -c $< -o $@
#../../Pico/Draw.o : ../../Pico/Draw.c
# @echo $<
# @$(GCC) $(COPT) $(DEFINC) -D_ASM_DRAW_C -c $< -o $@

View file

@ -166,7 +166,7 @@ static void DrawStrip(struct TileStrip *ts, int sh)
*ts->hc++ = cval; // cache it
continue;
}
continue;
if (code!=oldcode) {
oldcode = code;
// Get tile address/2: