mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-26 14:03:41 +01:00

read_size remained 0 when the "Read beyond end of disc" error occurs, which made the while (nbytes) loop never end. As a fix, SeekToCluster now explicitly sets available to 0 when the error occurs, and Read checks for it.