aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjSTE02022-02-25 22:19:29 +0000
committerjSTE02022-02-25 22:19:29 +0000
commit70b46dbb69aa8a8be980a6e8622168c8ea7da205 (patch)
tree5bd662bf1e9a5d114869e269a1a5293755880eb3 /Makefile
parentabd072aa370620112a88cc7b350c2dfb1b58185a (diff)
downloadsnes9x2005-70b46dbb69aa8a8be980a6e8622168c8ea7da205.tar.gz
snes9x2005-70b46dbb69aa8a8be980a6e8622168c8ea7da205.tar.bz2
snes9x2005-70b46dbb69aa8a8be980a6e8622168c8ea7da205.zip
platform/miyoo: Use optimised build flags
Opt-in to FAST_ALIGNED_LSB_WORD_ACCESS optimisation which was actually backported to a standalone fork in m45t3r/snes9x4d@cf6dedb1. Speeds up some CPU and PPU operations. Similarly, stop unrolling loops as in m45t3r/snes9x4d@8a342cde to help small CPU cache devices like the Miyoo.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4e40cc1..fc02737 100644
--- a/Makefile
+++ b/Makefile
@@ -292,6 +292,7 @@ else ifeq ($(platform), miyoo)
SHARED := -shared -Wl,--version-script=link.T
LIBM :=
FLAGS += -fomit-frame-pointer -ffast-math -march=armv5te -mtune=arm926ej-s
+ FLAGS += -DFAST_ALIGNED_LSB_WORD_ACCESS -fno-unroll-loops
# (armv7 a7, hard point, neon based) ###
# NESC, SNESC, C64 mini