diff options
author | bunnei <bunneidev@gmail.com> | 2015-03-12 02:28:57 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-03-12 02:28:57 +0100 |
commit | ed5b275d21612906e6eeb4b1f344aa0f1eb31c10 (patch) | |
tree | 54ffc1fe7163996fdaed1cb5cd948015409dcac6 /src/core/hw/gpu.cpp | |
parent | Merge pull request #629 from archshift/lcdfb (diff) | |
parent | hid_user: Removed unnecessary includes. (diff) | |
download | yuzu-ed5b275d21612906e6eeb4b1f344aa0f1eb31c10.tar yuzu-ed5b275d21612906e6eeb4b1f344aa0f1eb31c10.tar.gz yuzu-ed5b275d21612906e6eeb4b1f344aa0f1eb31c10.tar.bz2 yuzu-ed5b275d21612906e6eeb4b1f344aa0f1eb31c10.tar.lz yuzu-ed5b275d21612906e6eeb4b1f344aa0f1eb31c10.tar.xz yuzu-ed5b275d21612906e6eeb4b1f344aa0f1eb31c10.tar.zst yuzu-ed5b275d21612906e6eeb4b1f344aa0f1eb31c10.zip |
Diffstat (limited to '')
-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 30318fc06..f933a5e8d 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); } |