DEV9: Allow writes to ATA_R_CONTROL while busy

This commit is contained in:
TheLastRar 2024-10-13 17:08:15 +01:00 committed by lightningterror
parent bb4c456f35
commit 6065caaf19
1 changed files with 1 additions and 1 deletions

View File

@ -400,7 +400,7 @@ u16 ATA::Read(u32 addr, int width)
void ATA::Write(u32 addr, u16 value, int width)
{
if (addr != ATA_R_CMD && (regStatus & (ATA_STAT_BUSY | ATA_STAT_DRQ)) != 0)
if ((addr != ATA_R_CMD && addr != ATA_R_CONTROL) && (regStatus & (ATA_STAT_BUSY | ATA_STAT_DRQ)) != 0)
{
Console.Error("DEV9: ATA: DEVICE BUSY, DROPPING WRITE");
return;