Remove -fomit-frame-pointer to fix segfault on mode switch.
Note: a real fix for this should be found soon. Also change hardcoded bitdepth for software mode, don't know why that was changed.
This commit is contained in:
@@ -134,8 +134,10 @@ else
|
||||
dnl Because of the way zsnes is written, these options make
|
||||
dnl zsnes more easily deal with small instruction caches, and more
|
||||
dnl effectivly use branch prediction.
|
||||
dnl NOTE: -fomit-frame-pointer causes some segfaults
|
||||
dnl DO NOT re-add it until they are fixed.
|
||||
|
||||
CFLAGS="$CFLAGS -Os -ffast-math -fomit-frame-pointer -fschedule-insns2 -s"
|
||||
CFLAGS="$CFLAGS -Os -ffast-math -fno-omit-frame-pointer -fschedule-insns2 -s"
|
||||
ZSNESEXE="zsnes"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user