Refactor timing to allow sync/updates in the middle of a slice

This commit is contained in:
Connor McLaughlin
2019-09-20 23:59:48 +10:00
parent ad316162f3
commit c988af453c
10 changed files with 74 additions and 36 deletions

View File

@ -20,5 +20,5 @@ enum class MemoryAccessSize : u32
using TickCount = s32;
static constexpr TickCount MASTER_CLOCK = 44100 * 0x300; // 33868800Hz or 33.8688MHz, also used as CPU clock
static constexpr TickCount MAX_CPU_SLICE_SIZE = MASTER_CLOCK / 10;
static constexpr TickCount MAX_SLICE_SIZE = MASTER_CLOCK / 10;