diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-01-16 19:38:35 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-16 19:38:35 -0300 |
commit | 55c91ae782f9a05411ba869f7a83de87d29a0adf (patch) | |
tree | f40e211ce132a79fa9dbff5a74980d0a84bde3ff /src/core/hw/gpu.cpp | |
parent | 16a3f9e393a740e3d7cd2ab02c4f5b1e07d53ec7 (diff) | |
parent | 47960b065901f8aec53696535fb46fe20c0908e4 (diff) |
Merge pull request #2442 from wwylele/hid-signal
HID: manages updating itself using correct ticks
Diffstat (limited to 'src/core/hw/gpu.cpp')
-rw-r--r-- | src/core/hw/gpu.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/hw/gpu.cpp b/src/core/hw/gpu.cpp index 1a1ee90b2..fa8c13d36 100644 --- a/src/core/hw/gpu.cpp +++ b/src/core/hw/gpu.cpp @@ -15,7 +15,6 @@ #include "common/vector_math.h" #include "core/core_timing.h" #include "core/hle/service/gsp_gpu.h" -#include "core/hle/service/hid/hid.h" #include "core/hw/gpu.h" #include "core/hw/hw.h" #include "core/memory.h" @@ -33,7 +32,7 @@ namespace GPU { Regs g_regs; /// 268MHz CPU clocks / 60Hz frames per second -const u64 frame_ticks = 268123480ull / 60; +const u64 frame_ticks = BASE_CLOCK_RATE_ARM11 / 60; /// Event id for CoreTiming static int vblank_event; /// Total number of frames drawn @@ -551,9 +550,6 @@ static void VBlankCallback(u64 userdata, int cycles_late) { Service::GSP::SignalInterrupt(Service::GSP::InterruptId::PDC0); Service::GSP::SignalInterrupt(Service::GSP::InterruptId::PDC1); - // Check for user input updates - Service::HID::Update(); - if (!Settings::values.use_vsync && Settings::values.toggle_framelimit) { FrameLimiter(); } |