mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-28 01:20:58 +01:00
emummc: advance buffer for multi-file case
This commit is contained in:
parent
972681c57e
commit
cfd7121574
@ -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 New Issue
Block a user