From 504ff1b66a3c877cc987ff0ccc369b9a1e2408e2 Mon Sep 17 00:00:00 2001 From: Vincent-FK Date: Tue, 29 Dec 2020 19:58:05 +0100 Subject: [PATCH] New mednafen version to handle aspect ratio and more straighforward/faster scaling. Scaling still not perfect for PCEfast and GG --- FunKey/package/mednafen/mednafen.mk | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/FunKey/package/mednafen/mednafen.mk b/FunKey/package/mednafen/mednafen.mk index a17fbfe..de16fe9 100644 --- a/FunKey/package/mednafen/mednafen.mk +++ b/FunKey/package/mednafen/mednafen.mk @@ -4,7 +4,7 @@ # ################################################################################ -MEDNAFEN_VERSION = mednafen-git-FunKey-1.00 +MEDNAFEN_VERSION = 6016b5f MEDNAFEN_SITE_METHOD = git MEDNAFEN_SITE = https://github.com/FunKey-Project/mednafen-git.git MEDNAFEN_LICENSE = GPL-2.0+ @@ -12,17 +12,20 @@ MEDNAFEN_LICENSE_FILES = COPYING MEDNAFEN_DEPENDENCIES = sdl sdl_image sdl_mixer sdl_ttf zlib -MEDNAFEN_CFLAGS = $(TARGET_CFLAGS) $(subst $\",,$(BR2_TARGET_OPTIMIZATION)) -mfloat-abi=hard -ffast-math -funsafe-math-optimizations +MEDNAFEN_CFLAGS = $(TARGET_CFLAGS) $(subst $\",,$(BR2_TARGET_OPTIMIZATION)) -mfloat-abi=hard #MEDNAFEN_AUTORECONF = YES MEDNAFEN_CFLAGS += -ggdb -O3 +MEDNAFEN_CFLAGS += -DFUNKEY_FAST_BLIT #MEDNAFEN_LDFLAGS += -lSDL_ttf -lSDL_image -MEDNAFEN_CONF_OPTS += CFLAGS="$(MEDNAFEN_CFLAGS)" +MEDNAFEN_CONF_OPTS += CXXFLAGS="$(MEDNAFEN_CFLAGS)" #MEDNAFEN_CONF_OPTS += LDFLAGS="$(MEDNAFEN_LDFLAGS)" MEDNAFEN_CONF_OPTS += --prefix=/usr/local --bindir=/usr/games --without-libsndfile +MEDNAFEN_CONF_OPTS += --disable-ss --disable-ssfplay --disable-fancy-scalers +#MEDNAFEN_CONF_OPTS += --disable-nes --disable-gba --disable-psx --disable-snes MEDNAFEN_CONF_ENV += SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config"