summaryrefslogtreecommitdiff
path: root/src/core/hw/gpu.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2015-03-09 00:14:59 -0400
committerGravatar bunnei2015-03-10 23:58:07 -0400
commitd61b26b79f889603a084e148626bba3c267cf75f (patch)
treed793edd22e25a99aa5c13cc2455a5ec2167afee7 /src/core/hw/gpu.cpp
parentEmuWindow: Made pad/touch functions non-static. (diff)
downloadyuzu-d61b26b79f889603a084e148626bba3c267cf75f.tar.gz
yuzu-d61b26b79f889603a084e148626bba3c267cf75f.tar.xz
yuzu-d61b26b79f889603a084e148626bba3c267cf75f.zip
HID: Complete refactor of pad/touch input to fix threading issues.
Diffstat (limited to 'src/core/hw/gpu.cpp')
-rw-r--r--src/core/hw/gpu.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hw/gpu.cpp b/src/core/hw/gpu.cpp
index b7102b874..f7b822c58 100644
--- a/src/core/hw/gpu.cpp
+++ b/src/core/hw/gpu.cpp
@@ -14,6 +14,7 @@
14#include "core/hle/hle.h" 14#include "core/hle/hle.h"
15#include "core/hle/service/gsp_gpu.h" 15#include "core/hle/service/gsp_gpu.h"
16#include "core/hle/service/dsp_dsp.h" 16#include "core/hle/service/dsp_dsp.h"
17#include "core/hle/service/hid/hid.h"
17 18
18#include "core/hw/gpu.h" 19#include "core/hw/gpu.h"
19 20
@@ -294,6 +295,9 @@ static void VBlankCallback(u64 userdata, int cycles_late) {
294 // this. Certain games expect this to be periodically signaled. 295 // this. Certain games expect this to be periodically signaled.
295 DSP_DSP::SignalInterrupt(); 296 DSP_DSP::SignalInterrupt();
296 297
298 // Check for user input updates
299 Service::HID::HIDUpdate();
300
297 // Reschedule recurrent event 301 // Reschedule recurrent event
298 CoreTiming::ScheduleEvent(frame_ticks - cycles_late, vblank_event); 302 CoreTiming::ScheduleEvent(frame_ticks - cycles_late, vblank_event);
299} 303}