diff --git a/emummc/source/emuMMC/emummc.c b/emummc/source/emuMMC/emummc.c index 6c2fd91a7..4db3a21f8 100644 --- a/emummc/source/emuMMC/emummc.c +++ b/emummc/source/emuMMC/emummc.c @@ -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;