mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 07:38:05 -04:00
loading msgs, bugfixes
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@69 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
7336a99a49
commit
66fdc0f0d5
13 changed files with 93 additions and 49 deletions
|
@ -129,6 +129,11 @@ int pm_seek(pm_file *stream, long offset, int whence)
|
|||
}
|
||||
else if (stream->type == PMT_ZIP)
|
||||
{
|
||||
if (PicoMessage != NULL && offset > 6*1024*1024) {
|
||||
long pos = gztell((gzFile) stream->param);
|
||||
if (offset < pos || offset - pos > 6*1024*1024)
|
||||
PicoMessage("Decompressing data...");
|
||||
}
|
||||
return gzseek((gzFile) stream->param, offset, whence);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue