mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
core, fix loading and mapping for images > 4MB
This commit is contained in:
parent
6985cdd8a9
commit
eb3b1f9d72
2 changed files with 2 additions and 1 deletions
|
@ -772,7 +772,7 @@ int PicoCartLoad(pm_file *f,unsigned char **prom,unsigned int *psize,int is_sms)
|
|||
ret = pm_read(p,todo,f);
|
||||
bytes_read += ret;
|
||||
p += ret;
|
||||
PicoCartLoadProgressCB(bytes_read * 100 / size);
|
||||
PicoCartLoadProgressCB(bytes_read * 100LL / size);
|
||||
}
|
||||
while (ret > 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue