diff options
author | bunnei <bunneidev@gmail.com> | 2015-03-11 21:28:57 -0400 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-03-11 21:28:57 -0400 |
commit | ed5b275d21612906e6eeb4b1f344aa0f1eb31c10 (patch) | |
tree | 54ffc1fe7163996fdaed1cb5cd948015409dcac6 /src/core/hw/gpu.cpp | |
parent | b56829df020a81248dd04688ff2b307f3444a09f (diff) | |
parent | 4bbddda377625332635aa2a2687816435eb574a2 (diff) |
Merge pull request #642 from bunnei/touchpad
Touchpad support
Diffstat (limited to 'src/core/hw/gpu.cpp')
-rw-r--r-- | src/core/hw/gpu.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hw/gpu.cpp b/src/core/hw/gpu.cpp index 30318fc066..f933a5e8d3 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/hw.h" #include "core/hw/gpu.h" @@ -295,6 +296,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); } |