Clean up OpenDingux compiler options + style nits

This commit is contained in:
jdgleaver 2020-10-22 11:39:40 +01:00
parent 942d58bf07
commit 7856037e66
2 changed files with 3 additions and 8 deletions

View File

@ -392,11 +392,7 @@ else ifeq ($(platform), gcw0)
AR = /opt/gcw0-toolchain/usr/bin/mipsel-linux-ar
PLATFORM_DEFINES += -D_GNU_SOURCE
CFLAGS += -fomit-frame-pointer -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float
# The core is very slow on GCW0 platforms
# Use all possible optimisations...
CFLAGS += -finline-limit=42 -fno-unroll-loops -fno-ipa-cp
CFLAGS += -fno-common -fno-stack-protector -fno-guess-branch-probability
CFLAGS += -fno-caller-saves -fno-tree-loop-if-convert -fno-regmove
CFLAGS += -fno-common -ftree-vectorize -funswitch-loops
DEFINES += -std=c99
# Windows

View File

@ -117,11 +117,10 @@ static bool updateAudioLatency;
/* Frame skipping functions */
static void _retroAudioBuffStatusCallback(
bool active, unsigned occupancy, bool underrun_likely) {
static void _retroAudioBuffStatusCallback(bool active, unsigned occupancy, bool underrunLikely) {
retroAudioBuffActive = active;
retroAudioBuffOccupancy = occupancy;
retroAudioBuffUnderrun = underrun_likely;
retroAudioBuffUnderrun = underrunLikely;
}
static void _initFrameskip(void) {