From d61b26b79f889603a084e148626bba3c267cf75f Mon Sep 17 00:00:00 2001
From: bunnei <bunneidev@gmail.com>
Date: Mon, 9 Mar 2015 00:14:59 -0400
Subject: HID: Complete refactor of pad/touch input to fix threading issues.

---
 src/core/hw/gpu.cpp | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'src/core/hw/gpu.cpp')

diff --git a/src/core/hw/gpu.cpp b/src/core/hw/gpu.cpp
index b7102b8741..f7b822c58a 100644
--- a/src/core/hw/gpu.cpp
+++ b/src/core/hw/gpu.cpp
@@ -14,6 +14,7 @@
 #include "core/hle/hle.h"
 #include "core/hle/service/gsp_gpu.h"
 #include "core/hle/service/dsp_dsp.h"
+#include "core/hle/service/hid/hid.h"
 
 #include "core/hw/gpu.h"
 
@@ -294,6 +295,9 @@ static void VBlankCallback(u64 userdata, int cycles_late) {
     // this. Certain games expect this to be periodically signaled.
     DSP_DSP::SignalInterrupt();
 
+    // Check for user input updates
+    Service::HID::HIDUpdate();
+
     // Reschedule recurrent event
     CoreTiming::ScheduleEvent(frame_ticks - cycles_late, vblank_event);
 }
-- 
cgit v1.2.3-70-g09d2