diff options
author | David Guillen Fandos | 2021-03-25 23:01:20 +0100 |
---|---|---|
committer | David Guillen Fandos | 2021-03-26 23:13:26 +0100 |
commit | 7ea6c5e247a742af6f7acfbf215c23264410451f (patch) | |
tree | 125364f2f35fc15e103e3b20a1229062730cfe00 /Makefile | |
parent | a494a3f00ee3bd35ee9ab76f8cd4f164da080113 (diff) | |
download | picogpsp-7ea6c5e247a742af6f7acfbf215c23264410451f.tar.gz picogpsp-7ea6c5e247a742af6f7acfbf215c23264410451f.tar.bz2 picogpsp-7ea6c5e247a742af6f7acfbf215c23264410451f.zip |
Move OAM RAM to stubs also
Makes accesses more efficient for MIPS. Make accesses also fast for palette
reads.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -362,6 +362,15 @@ else ifneq (,$(findstring armv,$(platform))) endif LDFLAGS := -Wl,--no-undefined +# MIPS +else ifeq ($(platform), mips32) + TARGET := $(TARGET_NAME)_libretro.so + SHARED := -shared -nostdlib -Wl,--version-script=link.T + fpic := -fPIC -DPIC + CFLAGS += -fomit-frame-pointer -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float + HAVE_DYNAREC := 1 + CPU_ARCH := mips + # emscripten else ifeq ($(platform), emscripten) TARGET := $(TARGET_NAME)_libretro_$(platform).bc |