forked from dolphin-emu/dolphin
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.
4.6 KiB
4.6 KiB