mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00

- 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
50 lines
1.6 KiB
Diff
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
|
|
|