mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-25 15:15:40 +00:00
CPU: Make it run a bit faster, but needs proper timings
This commit is contained in:
parent
9d7fb64cdf
commit
d3893bc9f2
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue