mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 12:21:18 +00:00
emummc: advance buffer for multi-file case
This commit is contained in:
parent
972681c57e
commit
cfd7121574
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue