mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +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
|
||||
|
||||
@@ -7,7 +7,7 @@ COPYRIGHT="2012-2020 PPSSPP Project"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/hrydgard/ppsspp/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="e94f24116e70c0452081370d1ea00e4018040cf04b3f1a6f44575e1be81ed66e"
|
||||
CHECKSUM_SHA256="92a0931c0817529202679f926632510658f3aeea83e2a1663f9cce595b505421"
|
||||
SOURCE_FILENAME="ppsspp-$portVersion.tar.gz"
|
||||
SOURCE_DIR="ppsspp-$portVersion"
|
||||
srcGitRev_2="7885552b208493a6a0f21663770c446c3ba65576"
|
||||
@@ -25,9 +25,9 @@ SOURCE_URI_4="https://github.com/KhronosGroup/SPIRV-Cross/archive/$srcGitRev_4.t
|
||||
CHECKSUM_SHA256_4="456b1e2a75a8e82985ce22f4707570c7aa1fc50d4119cba1a641e8b233ecde26"
|
||||
SOURCE_FILENAME_4="SPIRV-Cross-$srcGitRev_4.tar.gz"
|
||||
SOURCE_DIR_4="SPIRV-Cross-$srcGitRev_4"
|
||||
srcGitRev_5="942934a3d55f600622fb3f3ad60ecc1f3da23b6b"
|
||||
srcGitRev_5="1c64b8fbd3cb6bd87935eb53f302f7de6f86e209"
|
||||
SOURCE_URI_5="https://github.com/hrydgard/ppsspp-lang/archive/$srcGitRev_5.tar.gz"
|
||||
CHECKSUM_SHA256_5="4327760e8c2c34bb335de52b74a0b7501d9e441766ec5c7c6702dadf3362ab13"
|
||||
CHECKSUM_SHA256_5="2e8a96867471a1e169176e561b06670d5aa460d49a2b074d84ae6378e91f6ef9"
|
||||
SOURCE_FILENAME_5="ppsspp-lang-$srcGitRev_5.tar.gz"
|
||||
SOURCE_DIR_5="ppsspp-lang-$srcGitRev_5"
|
||||
PATCHES="ppsspp-$portVersion.patchset"
|
||||
@@ -49,8 +49,10 @@ REQUIRES="
|
||||
lib:libglew$secondaryArchSuffix
|
||||
lib:libGLU$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
lib:libSDL2_2.0$secondaryArchSuffix
|
||||
lib:libSDL2_image_2.0$secondaryArchSuffix
|
||||
lib:libsnappy$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
lib:libzip$secondaryArchSuffix
|
||||
"
|
||||
@@ -64,8 +66,10 @@ BUILD_REQUIRES="
|
||||
devel:libglew$secondaryArchSuffix
|
||||
devel:libGLU$secondaryArchSuffix
|
||||
devel:libintl$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:libSDL2_2.0$secondaryArchSuffix
|
||||
devel:libSDL2_image_2.0$secondaryArchSuffix
|
||||
devel:libsnappy$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
devel:libzip$secondaryArchSuffix
|
||||
"
|
||||
Reference in New Issue
Block a user