Files
buildroot/package/miyoo/retroarch/libretro-retroarch/0002-config.def.h-disable-Vsync.patch
Apaczer 8037d1c1e2 PKG-retroarch: use "menu_unified_controls" & fix input polling (#166)
- u can use real keyboard on OSK (when searching for e.g.)
- add hack for "Swap OK/Cancel buttons in menu" when using OSK
- using "Unified menu controls" for keystrokes so will behave the same as controller which is to expect

refactor commits log
2025-05-12 16:57:13 +02:00

50 lines
1.6 KiB
Diff

From ca93a57b99cc028d2870a95ac81163335c84481e Mon Sep 17 00:00:00 2001
From: Apaczer <94932128+Apaczer@users.noreply.github.com>
Date: Mon, 10 Mar 2025 20:40:29 +0100
Subject: [PATCH] config.def.h: disable Vsync
Makefile.miyoo: add optimize flags
---
Makefile.miyoo | 2 +-
config.def.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile.miyoo b/Makefile.miyoo
index 68e047898c..a026317e6a 100644
--- a/Makefile.miyoo
+++ b/Makefile.miyoo
@@ -124,7 +124,7 @@ DEF_FLAGS += -I. -Ideps -Ideps/stb -DMIYOO=1 -DDINGUX -MMD
DEF_FLAGS += -Wall -Wno-unused-variable -flto
DEF_FLAGS += -std=gnu99 -D_GNU_SOURCE
LIBS := -ldl -lz -lrt -pthread -lasound
-CFLAGS :=
+CFLAGS := -Ofast -fdata-sections -ffunction-sections -fsingle-precision-constant -fno-PIC -flto
CXXFLAGS := -fno-exceptions -fno-rtti -std=c++11 -D__STDC_CONSTANT_MACROS
ASFLAGS :=
LDFLAGS := -Wl,--gc-sections
diff --git a/config.def.h b/config.def.h
index 0eea764ee3..6c0d0abcd9 100644
--- a/config.def.h
+++ b/config.def.h
@@ -364,7 +364,7 @@
#define DEFAULT_DISABLE_COMPOSITION false
/* Video VSYNC (recommended) */
-#define DEFAULT_VSYNC true
+#define DEFAULT_VSYNC false
/* Vulkan specific */
#define DEFAULT_MAX_SWAPCHAIN_IMAGES 3
@@ -541,7 +541,7 @@
#if defined(DINGUX)
/* Enables aspect ratio correction (1:1 PAR) when
* using the IPU hardware scaler in Dingux devices */
-#define DEFAULT_DINGUX_IPU_KEEP_ASPECT true
+#define DEFAULT_DINGUX_IPU_KEEP_ASPECT false
/* Sets image filtering method when using the
* IPU hardware scaler in Dingux devices */
#if defined(RETROFW)
--
2.45.2.windows.1