mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-24 17:18:51 +02:00
PPSSPP: bump version
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
From 704e15673a836f483aebe693559369b64b465b9a Mon Sep 17 00:00:00 2001
|
||||
From dfb812541ded38bcc9dfd7de36528eb8059a8f8e Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Sat, 4 Jul 2020 13:56:09 +1000
|
||||
Date: Mon, 17 Aug 2020 20:44:23 +1000
|
||||
Subject: Fixes for Haiku
|
||||
|
||||
|
||||
@@ -51,19 +51,19 @@ index 3a5d8ac..f68142f 100644
|
||||
#define bswap16 swap16
|
||||
#define bswap32 swap32
|
||||
diff --git a/Core/Config.cpp b/Core/Config.cpp
|
||||
index 214aeb4..ea3db77 100644
|
||||
index 9ff2635..0088851 100644
|
||||
--- a/Core/Config.cpp
|
||||
+++ b/Core/Config.cpp
|
||||
@@ -518,7 +518,7 @@ static ConfigSetting cpuSettings[] = {
|
||||
@@ -519,7 +519,7 @@ static ConfigSetting cpuSettings[] = {
|
||||
|
||||
static int DefaultInternalResolution() {
|
||||
// Auto on Windows, 2x on large screens, 1x elsewhere.
|
||||
-#if defined(USING_WIN_UI)
|
||||
+#if defined(USING_WIN_UI) || defined(__HAIKU__)
|
||||
// Auto on Windows and Linux, 2x on large screens, 1x elsewhere.
|
||||
-#if defined(USING_WIN_UI) || defined(USING_QT_UI)
|
||||
+#if defined(USING_WIN_UI) || defined(USING_QT_UI) || defined(__HAIKU__)
|
||||
return 0;
|
||||
#else
|
||||
int longestDisplaySide = std::max(System_GetPropertyInt(SYSPROP_DISPLAY_XRES), System_GetPropertyInt(SYSPROP_DISPLAY_YRES));
|
||||
@@ -728,7 +728,11 @@ static ConfigSetting graphicsSettings[] = {
|
||||
@@ -729,7 +729,11 @@ static ConfigSetting graphicsSettings[] = {
|
||||
ReportedConfigSetting("InternalResolution", &g_Config.iInternalResolution, &DefaultInternalResolution, true, true),
|
||||
ReportedConfigSetting("AndroidHwScale", &g_Config.iAndroidHwScale, &DefaultAndroidHwScale),
|
||||
ReportedConfigSetting("HighQualityDepth", &g_Config.bHighQualityDepth, true, true, true),
|
||||
@@ -75,7 +75,7 @@ index 214aeb4..ea3db77 100644
|
||||
ReportedConfigSetting("FrameSkipType", &g_Config.iFrameSkipType, 0, true, true),
|
||||
ReportedConfigSetting("AutoFrameSkip", &g_Config.bAutoFrameSkip, false, true, true),
|
||||
ConfigSetting("FrameRate", &g_Config.iFpsLimit1, 0, true, true),
|
||||
@@ -739,10 +743,17 @@ static ConfigSetting graphicsSettings[] = {
|
||||
@@ -740,10 +744,17 @@ static ConfigSetting graphicsSettings[] = {
|
||||
#endif
|
||||
|
||||
// Most low-performance (and many high performance) mobile GPUs do not support aniso anyway so defaulting to 4 is fine.
|
||||
@@ -94,7 +94,7 @@ index 214aeb4..ea3db77 100644
|
||||
ReportedConfigSetting("TextureSecondaryCache", &g_Config.bTextureSecondaryCache, false, true, true),
|
||||
ReportedConfigSetting("VertexDecJit", &g_Config.bVertexDecoderJit, &DefaultCodeGen, false),
|
||||
|
||||
@@ -775,7 +786,11 @@ static ConfigSetting graphicsSettings[] = {
|
||||
@@ -777,7 +788,11 @@ static ConfigSetting graphicsSettings[] = {
|
||||
ReportedConfigSetting("PostShader", &g_Config.sPostShaderName, "Off", true, true),
|
||||
|
||||
ReportedConfigSetting("MemBlockTransferGPU", &g_Config.bBlockTransferGPU, true, true, true),
|
||||
@@ -228,5 +228,5 @@ index 94499ce..e5249cc 100644
|
||||
|
||||
inline uint64 Uint128Low64(const uint128& x) { return x.first; }
|
||||
--
|
||||
2.27.0
|
||||
2.28.0
|
||||
|
||||
Reference in New Issue
Block a user