New tests, Cleaned up tests, check screen dimensions before SDL_SetVideoMode

This commit is contained in:
Vincent Buso
2023-01-16 20:55:28 +01:00
parent c78ba94025
commit ab76d63f46
15 changed files with 1324 additions and 247 deletions

View File

@@ -23,8 +23,10 @@ CC=$(CROSS_COMPILE)gcc
# Other options
ifeq ($(platform), funkey)
CFLAGS += $(shell /opt/FunKey-sdk-2.3.0/arm-funkey-linux-musleabihf/sysroot/usr/bin/sdl-config --cflags)
CFLAGS += -O2 -mfloat-abi=hard -ffast-math -funsafe-math-optimizations -fno-PIC -march=armv7-a+neon-vfpv4 -mtune=cortex-a7 -mfpu=neon-vfpv4
#CFLAGS += -O2
CFLAGS += -O3
CFLAGS += -mfloat-abi=hard -ffast-math -funsafe-math-optimizations -fno-PIC -march=armv7-a+neon-vfpv4 -mtune=cortex-a7 -mfpu=neon-vfpv4
#CFLAGS += -ffreestanding -mfpu=neon -mfloat-abi=hard
LIBS += $(shell /opt/FunKey-sdk-2.3.0/arm-funkey-linux-musleabihf/sysroot/usr/bin/sdl-config --libs)
else
CFLAGS += `sdl-config --cflags`