1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-22 20:06:40 +00:00

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; return 0;
} }
buf = (void *)((uintptr_t)buf + (cur_sectors << 9));
remaining -= cur_sectors; remaining -= cur_sectors;
sector = 0; sector = 0;
++fp; ++fp;