From 6065caaf19e2f0f149fa5dbd41f77d8fbe8d108a Mon Sep 17 00:00:00 2001 From: TheLastRar Date: Sun, 13 Oct 2024 17:08:15 +0100 Subject: [PATCH] DEV9: Allow writes to ATA_R_CONTROL while busy --- pcsx2/DEV9/ATA/ATA_State.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/DEV9/ATA/ATA_State.cpp b/pcsx2/DEV9/ATA/ATA_State.cpp index e790b1cf90..59b400093a 100644 --- a/pcsx2/DEV9/ATA/ATA_State.cpp +++ b/pcsx2/DEV9/ATA/ATA_State.cpp @@ -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;