Add a core option to choose between PAR, DAR and CRT aspect ratio
[picodrive.git] / Makefile.libretro
index 1b6d25d..0ec70d3 100644 (file)
@@ -173,27 +173,28 @@ else ifeq ($(platform), psl1ght)
 
 # PSP
 else ifeq ($(platform), psp1)
-       TARGET := $(TARGET_NAME)_libretro_psp1.a
-       CC = psp-gcc$(EXE_EXT)
-       AR = psp-ar$(EXE_EXT)
-       CFLAGS += -G0
-       STATIC_LINKING = 1
-       NO_MMAP = 1
-       DONT_COMPILE_IN_ZLIB = 1
-
-       asm_memory = 0
-       asm_render = 0
-       asm_ym2612 = 0
-       asm_misc = 0
-       asm_cdpico = 0
-       asm_cdmemory = 0
-       asm_mix = 0
-       use_cyclone = 0
-       use_fame = 1
-       use_drz80 = 0
-       use_cz80 = 1
-
-
+    TARGET := $(TARGET_NAME)_libretro_psp1.a
+    CC = psp-gcc$(EXE_EXT)
+    AR = psp-ar$(EXE_EXT)
+    CFLAGS += -G0 -ftracer
+    CFLAGS += -DPSP -D_ASM_DRAW_C_AMIPS
+    STATIC_LINKING = 1
+    NO_MMAP = 1
+    DONT_COMPILE_IN_ZLIB = 1
+
+    asm_memory = 0
+    asm_render = 1
+    asm_ym2612 = 0
+    asm_misc = 0
+    asm_cdpico = 0
+    asm_cdmemory = 0
+    asm_mix = 0
+    use_cyclone = 0
+    use_fame = 1
+    use_drz80 = 0
+    use_cz80 = 1
+
+    OBJS +=platform/libretro/psp/draw_amips.o
 
 # CTR (3DS)
 else ifeq ($(platform), ctr)