mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-30 08:23:01 +00:00
1-byte offset should be safe
This commit is contained in:
parent
2dcf5f890e
commit
e3f14f3850
1 changed files with 3 additions and 1 deletions
|
@ -651,7 +651,9 @@ bool DivEngine::load(void* f, size_t slen) {
|
|||
}
|
||||
|
||||
if (reader.tell()<reader.size()) {
|
||||
logW("premature end of song (we are at %x, but size is %x)\n",reader.tell(),reader.size());
|
||||
if ((reader.tell()+1)!=reader.size()) {
|
||||
logW("premature end of song (we are at %x, but size is %x)\n",reader.tell(),reader.size());
|
||||
}
|
||||
}
|
||||
|
||||
song=ds;
|
||||
|
|
Loading…
Reference in a new issue