mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-24 17:31:05 +00:00
Increase sub-frame input polling. Helps when Citra runs slowly.
This commit is contained in:
parent
558422c2ac
commit
eeb785c9ff
@ -58,7 +58,7 @@ void Init(ControllerBackends backend) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Setup CoreTiming
|
//Setup CoreTiming
|
||||||
frame_ticks = 268123480 / Settings::values.gpu_refresh_rate;
|
frame_ticks = 268123480 / Settings::values.gpu_refresh_rate / 16;
|
||||||
|
|
||||||
input_event = CoreTiming::RegisterEvent("InputCommon::InputCallback", InputCallback);
|
input_event = CoreTiming::RegisterEvent("InputCommon::InputCallback", InputCallback);
|
||||||
CoreTiming::ScheduleEvent(frame_ticks, input_event);
|
CoreTiming::ScheduleEvent(frame_ticks, input_event);
|
||||||
|
Loading…
Reference in New Issue
Block a user