CDROM: Use physical position for seek time calculations

This commit is contained in:
Connor McLaughlin
2021-06-12 17:39:54 +10:00
parent 36bfc461f9
commit 74013a0853
2 changed files with 26 additions and 17 deletions

View File

@ -83,7 +83,10 @@ private:
MOTOR_ON_RESPONSE_TICKS = 400000,
MAX_FAST_FORWARD_RATE = 12,
FAST_FORWARD_RATE_STEP = 4
FAST_FORWARD_RATE_STEP = 4,
// Actually varies depending the distance into the disc.
BASE_SECTORS_PER_TRACK = 9,
};
static constexpr u8 INTERRUPT_REGISTER_MASK = 0x1F;