PPSSPP: fix crash on exit

This commit is contained in:
Gerasim Troeglazov
2021-11-11 22:32:19 +10:00
parent f7ec3fb5bf
commit 543946ffd9
2 changed files with 25 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
From fef734ec818cbeeb06db8d0b8581bd958230de68 Mon Sep 17 00:00:00 2001
From e053ff4d1eeb86c840f13574cc26643e13a40b7d Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Thu, 11 Nov 2021 18:31:01 +1000
Subject: Fixes for Haiku
@@ -384,3 +384,26 @@ index 94499ce..1b80a5e 100644
--
2.30.2
From ccb7a34726a5367af47d8dfd290b8b17b33edbfa Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Thu, 11 Nov 2021 22:31:13 +1000
Subject: Fix crash on exit
diff --git a/SDL/SDLMain.cpp b/SDL/SDLMain.cpp
index d42eed0..47bfeff 100644
--- a/SDL/SDLMain.cpp
+++ b/SDL/SDLMain.cpp
@@ -1193,7 +1193,7 @@ int main(int argc, char *argv[]) {
SDL_PauseAudioDevice(audioDev, 1);
SDL_CloseAudioDevice(audioDev);
}
- SDL_Quit();
+// SDL_Quit();
#if PPSSPP_PLATFORM(RPI)
bcm_host_deinit();
#endif
--
2.30.2

View File

@@ -5,7 +5,7 @@ Android or PC device."
HOMEPAGE="https://www.ppsspp.org/"
COPYRIGHT="2012-2021 PPSSPP Project"
LICENSE="GNU GPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/hrydgard/ppsspp/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="c9458ab1946d7d665465f69aafdf8598179852fefdcd7aef9050f7278193bec5"
SOURCE_FILENAME="ppsspp-$portVersion.tar.gz"