mirror of
https://github.com/libretro/parallel-ps2.git
synced 2026-11-10 11:21:36 -10:00
A read of the image the host fails ends the guest's read command with ERR and an uncorrectable-data error, without its data phase, whether the read was synchronous or ran on the IO thread. A queued write the host fails is dropped, and the flush that follows - the guest's FLUSH CACHE, or the completion of a write with the write cache off - ends with ERR, write fault and abort; the next flush reports only its own writes. A sparse block the host cannot read falls back to plain writes. A failure is logged once until an access succeeds. None of them stops the process. tests/ata swaps the image under the device for one the host cannot use - a copy cut short for reads, the image opened read-only for writes - and checks each error, and that reads and writes work again after.