mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 16:53:40 +01:00
Fix to partial restarts (when switching backends), plus misc. Helps #9666
This commit is contained in:
1 parent
e304325ed8
commit
d3ff35b2c0
7 files changed
+7
-12
No files matched your search
+2
-2
@@ -330,7 +330,7 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
|
||||
VFSRegister("", new DirectoryAssetReader("assets/"));
|
||||
VFSRegister("", new DirectoryAssetReader(savegame_dir));
|
||||
|
||||
#if (defined(MOBILE_DEVICE) || !defined(USING_QT_UI)) && !PPSSPP_PLATFORM(UWP)
|
||||
#if (defined(MOBILE_DEVICE) || !defined(USING_QT_UI)) && !PPSSPP_PLATFORM(WINDOWS)
|
||||
if (host == nullptr) {
|
||||
host = new NativeHost();
|
||||
}
|
||||
@@ -1087,7 +1087,7 @@ void NativeShutdown() {
|
||||
gl_lost_manager_shutdown();
|
||||
}
|
||||
|
||||
#if !PPSSPP_PLATFORM(UWP)
|
||||
#if !PPSSPP_PLATFORM(WINDOWS)
|
||||
delete host;
|
||||
host = nullptr;
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user