CPU: Make it run a bit faster, but needs proper timings

This commit is contained in:
Connor McLaughlin 2019-09-28 01:43:08 +10:00
parent 9d7fb64cdf
commit d3893bc9f2
2 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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
{