mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 16:53:40 +01:00
Fix XInput polling in UWP apps. Should help #9555
This commit is contained in:
1 parent
5ce73f7264
commit
fc730b76df
6 files changed
+13
-7
No files matched your search
+3
-1
@@ -329,7 +329,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)
|
||||
#if defined(MOBILE_DEVICE) || !defined(USING_QT_UI) && !PPSSPP_PLATFORM(UWP)
|
||||
host = new NativeHost();
|
||||
#endif
|
||||
|
||||
@@ -1060,7 +1060,9 @@ void NativeShutdown() {
|
||||
delete screenManager;
|
||||
screenManager = 0;
|
||||
|
||||
#if !PPSSPP_PLATFORM(UWP)
|
||||
delete host;
|
||||
#endif
|
||||
host = 0;
|
||||
g_Config.Save();
|
||||
LogManager::Shutdown();
|
||||
|
||||
Reference in new issue
Block a user