mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 10:35:46 -04:00
CDROM: Add timing for speed changes/adjust seek timing
This makes the BIOS take longer to load the executable off the disc, giving the sound effects longer to fade out and reducing the overlap with the game.
This commit is contained in:
@ -210,9 +210,9 @@ private:
|
||||
void UpdateStatusRegister();
|
||||
void UpdateInterruptRequest();
|
||||
|
||||
TickCount GetAckDelayForCommand(Command command) const;
|
||||
TickCount GetTicksForRead() const;
|
||||
TickCount GetTicksForSeek() const;
|
||||
TickCount GetAckDelayForCommand(Command command);
|
||||
TickCount GetTicksForRead();
|
||||
TickCount GetTicksForSeek(CDImage::LBA new_lba);
|
||||
void BeginCommand(Command command); // also update status register
|
||||
void EndCommand(); // also updates status register
|
||||
void AbortCommand();
|
||||
@ -253,6 +253,7 @@ private:
|
||||
StatusRegister m_status = {};
|
||||
SecondaryStatusRegister m_secondary_status = {};
|
||||
ModeRegister m_mode = {};
|
||||
bool m_current_double_speed = false;
|
||||
|
||||
u8 m_interrupt_enable_register = INTERRUPT_REGISTER_MASK;
|
||||
u8 m_interrupt_flag_register = 0;
|
||||
|
Reference in New Issue
Block a user