From d3893bc9f20d3cbceed68b7ab6810c15c636b63c Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 28 Sep 2019 01:43:08 +1000 Subject: [PATCH] CPU: Make it run a bit faster, but needs proper timings --- src/pse/cpu_core.cpp | 4 ++-- src/pse/pad.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pse/cpu_core.cpp b/src/pse/cpu_core.cpp index c08be4641..a84721b4f 100644 --- a/src/pse/cpu_core.cpp +++ b/src/pse/cpu_core.cpp @@ -456,8 +456,8 @@ void Core::Execute() { while (m_downcount >= 0) { - m_pending_ticks += 3; - m_downcount -= 3; + m_pending_ticks += 2; + m_downcount -= 2; // now executing the instruction we previously fetched const Instruction inst = m_next_instruction; diff --git a/src/pse/pad.h b/src/pse/pad.h index e45b492f4..faf4757bb 100644 --- a/src/pse/pad.h +++ b/src/pse/pad.h @@ -31,7 +31,7 @@ public: private: static constexpr u32 NUM_SLOTS = 2; - static constexpr u32 TRANSFER_TICKS = 500; + static constexpr u32 TRANSFER_TICKS = 750; enum class State : u32 {