Implement psp compiler flags
authorThomas Daley <tuluse@yahoo.com>
Sat, 12 Mar 2016 21:12:55 +0000 (15:12 -0600)
committerThomas Daley <tuluse@yahoo.com>
Sat, 12 Mar 2016 21:12:55 +0000 (15:12 -0600)
Makefile.libretro

index d380e2e..0ec70d3 100644 (file)
@@ -173,25 +173,26 @@ 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