[virtualjaguar] stop a CD transfer when address is greater than the end, rather than greater than or equal to, fixes battle morph

This commit is contained in:
CasualPokePlayer 2022-09-28 04:31:06 -07:00
parent 70a21ee07e
commit f0529fde28
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -287,7 +287,7 @@ static void CDHLECallback(void)
cd_buf_pos += 64;
cd_buf_rm -= 64;
if (cd_read_addr_start >= cd_read_addr_end)
if (cd_read_addr_start > cd_read_addr_end)
{
cd_is_reading = false;
}