OSDN Git Service

[UI][Qt] Joystick : Fix freezing on some situations.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Wed, 27 May 2015 11:53:14 +0000 (20:53 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Wed, 27 May 2015 11:53:14 +0000 (20:53 +0900)
source/src/qt/common/emu_input.cpp

index 21417f1..6c92407 100644 (file)
@@ -931,7 +931,7 @@ void JoyThreadClass::doWork(const QString &params)
   while(SDL_PollEvent(&event) == 1) {
     EventSDL(&event);
   }
-     SDL_Delay(10);
+     msleep(10);
   } while(1);
    
   //timer.setInterval(5);