diff options
author | neonloop | 2021-10-20 00:01:31 +0000 |
---|---|---|
committer | neonloop | 2021-10-20 00:01:31 +0000 |
commit | 0a40303ac6cea506ff678986af5c43d3f689352b (patch) | |
tree | 0b8274ebdf45a7df7c49a572bb691410f8e099d5 /patches/gpsp | |
parent | fa1b1d4a76276974501397c1b5294f50c96498eb (diff) | |
download | picoarch-0a40303ac6cea506ff678986af5c43d3f689352b.tar.gz picoarch-0a40303ac6cea506ff678986af5c43d3f689352b.tar.bz2 picoarch-0a40303ac6cea506ff678986af5c43d3f689352b.zip |
Updates patches for upstream changes
Diffstat (limited to 'patches/gpsp')
-rw-r--r-- | patches/gpsp/0001-avoid-audio-popping.patch | 16 | ||||
-rw-r--r-- | patches/gpsp/1000-trimui-build.patch | 2 |
2 files changed, 1 insertions, 17 deletions
diff --git a/patches/gpsp/0001-avoid-audio-popping.patch b/patches/gpsp/0001-avoid-audio-popping.patch deleted file mode 100644 index ed868a4..0000000 --- a/patches/gpsp/0001-avoid-audio-popping.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/sound.h b/sound.h -index 08d1de5..93221d5 100644 ---- a/sound.h -+++ b/sound.h -@@ -24,8 +24,10 @@ - #define BUFFER_SIZE_MASK (BUFFER_SIZE - 1) - - #define GBA_SOUND_FREQUENCY (64 * 1024) -+#define GBA_60HZ_RATE 16853760.0f /* 228*(272+960)*60 */ - --#define GBC_BASE_RATE ((float)(16 * 1024 * 1024)) -+// run GBA at 60Hz (~0.5% faster) to better match host display -+#define GBC_BASE_RATE GBA_60HZ_RATE - - typedef enum - { diff --git a/patches/gpsp/1000-trimui-build.patch b/patches/gpsp/1000-trimui-build.patch index 2f9e7da..ecf9623 100644 --- a/patches/gpsp/1000-trimui-build.patch +++ b/patches/gpsp/1000-trimui-build.patch @@ -10,7 +10,7 @@ index ecefd12..91fc859 100644 + TARGET := $(TARGET_NAME)_libretro.so + CC = $(CROSS_COMPILE)gcc + SHARED := -shared -Wl,--version-script=link.T -mcpu=arm926ej-s -mtune=arm926ej-s -+ CFLAGS += -ffast-math -fdata-sections -ffunction-sections -flto -fno-PIC ++ CFLAGS += -ffast-math -fdata-sections -ffunction-sections -flto -fno-PIC -DOVERCLOCK_60FPS + LDFLAGS += -flto + ifeq (,$(DEBUG)) + LDFLAGS += -s |