diff --git a/pcsx2/DEV9/ATA/ATA_State.cpp b/pcsx2/DEV9/ATA/ATA_State.cpp index 342fe13605..306388a05d 100644 --- a/pcsx2/DEV9/ATA/ATA_State.cpp +++ b/pcsx2/DEV9/ATA/ATA_State.cpp @@ -396,7 +396,7 @@ bool ATA::HDD_CanAccess(int* sectors) s64 posEnd; s64 maxLBA; - maxLBA = std::min((s64)config.HddSize * 1024 * 1024 / 512, hddImageSize); + maxLBA = std::min((s64)config.HddSize * 1024 * 1024 / 512, hddImageSize) - 1; if ((regSelect & 0x40) == 0) //CHS mode maxLBA = std::min(maxLBA, curCylinders * curHeads * curSectors);