mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-08 05:01:44 +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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
buf = (void *)((uintptr_t)buf + (cur_sectors << 9));
|
||||||
remaining -= cur_sectors;
|
remaining -= cur_sectors;
|
||||||
sector = 0;
|
sector = 0;
|
||||||
++fp;
|
++fp;
|
||||||
|
|
Loading…
Reference in a new issue