mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 06:47:45 -04:00
psp port runs, bad colors
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@275 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
2951214ea6
commit
703e4c7bbb
10 changed files with 744 additions and 67 deletions
|
@ -13,7 +13,7 @@
|
|||
#include "../gp2x/emu.h"
|
||||
#include "../gp2x/menu.h"
|
||||
#include "../gp2x/code940/940shared.h"
|
||||
#include "../gp2x/helix/pub/mp3dec.h"
|
||||
#include "../common/helix/pub/mp3dec.h"
|
||||
#include "../../Pico/PicoInt.h"
|
||||
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ OBJS += ../gp2x/main.o ../gp2x/menu.o ../gp2x/emu.o ../gp2x/usbjoy.o blit.o \
|
|||
gp2x.o 940ctl_ym2612.o log_io.o
|
||||
|
||||
# common
|
||||
OBJS += ../common/menu.o ../common/fonts.o ../common/readpng.o
|
||||
OBJS += ../common/emu.o ../common/menu.o ../common/fonts.o ../common/readpng.o ../common/mp3_helix.o
|
||||
|
||||
# Pico
|
||||
OBJS += ../../Pico/Area.o ../../Pico/Cart.o ../../Pico/Memory.o ../../Pico/Misc.o \
|
||||
|
@ -45,8 +45,6 @@ OBJS += ../../zlib/gzio.o ../../zlib/inffast.o ../../zlib/inflate.o ../../zlib/i
|
|||
../../zlib/deflate.o ../../zlib/crc32.o ../../zlib/adler32.o ../../zlib/zutil.o ../../zlib/compress.o
|
||||
# unzip
|
||||
OBJS += ../../unzip/unzip.o ../../unzip/unzip_stream.o
|
||||
# mp3
|
||||
OBJS += ../gp2x/mp3.o
|
||||
# CPU cores
|
||||
DEFINC += -DEMU_M68K
|
||||
OBJS += ../../cpu/musashi/m68kops.o ../../cpu/musashi/m68kcpu.o
|
||||
|
@ -65,9 +63,9 @@ clean: tidy
|
|||
tidy:
|
||||
@$(RM) $(OBJS)
|
||||
@make -C ../../cpu/mz80/ clean
|
||||
@make -C ../gp2x/helix/ X86=1 clean
|
||||
@make -C ../common/helix/ X86=1 clean
|
||||
|
||||
PicoDrive : $(OBJS) ../gp2x/helix/helix_mp3_x86.a
|
||||
PicoDrive : $(OBJS) ../common/helix/helix_mp3_x86.a
|
||||
@echo $@
|
||||
@$(GCC) $(COPT) $^ $(LDFLAGS) -lm -lpng -Wl,-Map=PicoDrive.map -o $@
|
||||
|
||||
|
@ -82,8 +80,8 @@ PicoDrive : $(OBJS) ../gp2x/helix/helix_mp3_x86.a
|
|||
../../cpu/mz80/mz80.asm :
|
||||
@make -C ../../cpu/mz80/
|
||||
|
||||
../gp2x/helix/helix_mp3_x86.a:
|
||||
@make -C ../gp2x/helix/ X86=1 clean all
|
||||
../common/helix/helix_mp3_x86.a:
|
||||
@make -C ../common/helix/ X86=1 clean all
|
||||
|
||||
.c.o:
|
||||
@echo $<
|
||||
|
@ -97,8 +95,3 @@ PicoDrive : $(OBJS) ../gp2x/helix/helix_mp3_x86.a
|
|||
@echo $@
|
||||
@$(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 $@
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue