fix bugs, make it more responsive

This commit is contained in:
Arisotura
2019-06-11 23:48:49 +02:00
parent bfc12a038e
commit 82f4f4fdcb
2 changed files with 5 additions and 8 deletions

View File

@ -788,12 +788,12 @@ int EmuThreadFunc(void* burp)
while (EmuRunning != 0)
{
SDL_JoystickUpdate();
if (EmuRunning == 1)
{
EmuStatus = 1;
SDL_JoystickUpdate();
if (Joystick)
{
if (!SDL_JoystickGetAttached(Joystick))