emummc: advance buffer for multi-file case

This commit is contained in:
Michael Scire 2021-05-05 08:44:53 -07:00
parent 972681c57e
commit cfd7121574

View File

@ -314,6 +314,7 @@ static uint64_t emummc_read_write_inner(void *buf, unsigned int sector, unsigned
return 0;
}
buf = (void *)((uintptr_t)buf + (cur_sectors << 9));
remaining -= cur_sectors;
sector = 0;
++fp;