mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-29 02:51:24 +00:00
fix loading some .dmf modules
This commit is contained in:
parent
82d8728ca1
commit
af26ec9faf
1 changed files with 1 additions and 1 deletions
|
@ -1172,7 +1172,7 @@ bool DivEngine::loadDMF(unsigned char* file, size_t len) {
|
|||
if (ds.system[0]==DIV_SYSTEM_GB) {
|
||||
wave->max=15;
|
||||
}
|
||||
if (wave->len>32) {
|
||||
if (wave->len>33) {
|
||||
logE("invalid wave length %d. are we doing something wrong?\n",wave->len);
|
||||
lastError="file is corrupt or unreadable at wavetables";
|
||||
delete[] file;
|
||||
|
|
Loading…
Reference in a new issue