mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 06:20:26 +02:00
Poll controllers on a separate thread on Windows.
This means controllers will sample more than the game fps, and will work whenever keyboards do.
This commit is contained in:
1 parent
b589d3b170
commit
b641ced7e0
5 files changed
+112
-20
No files matched your search
@@ -383,6 +383,7 @@ int WINAPI WinMain(HINSTANCE _hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin
|
||||
|
||||
// Emu thread is always running!
|
||||
EmuThread_Start();
|
||||
InputDevice::BeginPolling();
|
||||
|
||||
HACCEL hAccelTable = LoadAccelerators(_hInstance, (LPCTSTR)IDR_ACCELS);
|
||||
HACCEL hDebugAccelTable = LoadAccelerators(_hInstance, (LPCTSTR)IDR_DEBUGACCELS);
|
||||
@@ -433,6 +434,7 @@ int WINAPI WinMain(HINSTANCE _hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin
|
||||
|
||||
VFSShutdown();
|
||||
|
||||
InputDevice::StopPolling();
|
||||
EmuThread_Stop();
|
||||
|
||||
MainWindow::DestroyDebugWindows();
|
||||
|
||||
Reference in new issue
Block a user