mirror of
https://github.com/libretro/mgba.git
synced 2025-02-01 21:22:33 +00:00
Clean up OpenDingux compiler options + style nits
This commit is contained in:
parent
942d58bf07
commit
7856037e66
@ -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
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user