From fd2bc95a7bb244bcaf2531314e54d035395ab2a2 Mon Sep 17 00:00:00 2001 From: Malcolm Jestadt Date: Sun, 5 May 2019 02:30:24 -0400 Subject: [PATCH] overlays: Double dpad repeat rate --- rpcs3/Emu/RSX/Overlays/overlays.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/RSX/Overlays/overlays.cpp b/rpcs3/Emu/RSX/Overlays/overlays.cpp index b04c907dd5..b109a7c632 100644 --- a/rpcs3/Emu/RSX/Overlays/overlays.cpp +++ b/rpcs3/Emu/RSX/Overlays/overlays.cpp @@ -257,9 +257,9 @@ namespace rsx { if (button_id < 4) // d-pad button { - if (!button_state[pad_index][button_id] || input_timer.GetMsSince(timestamp[pad_index]) > 400) + if (!button_state[pad_index][button_id] || input_timer.GetMsSince(timestamp[pad_index]) > 200) { - // d-pad button was not pressed, or was pressed more than 400ms ago + // d-pad button was not pressed, or was pressed more than 200ms ago timestamp[pad_index] = std::chrono::steady_clock::now(); on_button_pressed(static_cast(button_id)); }