Fix XInput polling in UWP apps. Should help #9555

This commit is contained in:
Henrik Rydgard committed 2017-04-05 14:13:25 +02:00
1 parent 5ce73f7264
commit fc730b76df
6 files changed
+13 -7

No files matched your search

+3 -1
View File
@@ -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();