diff options
author | bunnei <bunneidev@gmail.com> | 2015-03-09 05:14:59 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-03-11 04:58:07 +0100 |
commit | d61b26b79f889603a084e148626bba3c267cf75f (patch) | |
tree | d793edd22e25a99aa5c13cc2455a5ec2167afee7 /src/core/hw | |
parent | EmuWindow: Made pad/touch functions non-static. (diff) | |
download | yuzu-d61b26b79f889603a084e148626bba3c267cf75f.tar yuzu-d61b26b79f889603a084e148626bba3c267cf75f.tar.gz yuzu-d61b26b79f889603a084e148626bba3c267cf75f.tar.bz2 yuzu-d61b26b79f889603a084e148626bba3c267cf75f.tar.lz yuzu-d61b26b79f889603a084e148626bba3c267cf75f.tar.xz yuzu-d61b26b79f889603a084e148626bba3c267cf75f.tar.zst yuzu-d61b26b79f889603a084e148626bba3c267cf75f.zip |
Diffstat (limited to 'src/core/hw')
-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 b7102b874..f7b822c58 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); } |