mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-02 02:52:40 +00:00
XM impott: fix build
This commit is contained in:
parent
6449bc9af2
commit
bb4d6c2a55
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ bool DivEngine::loadXM(unsigned char* file, size_t len) {
|
||||||
double bpm=(unsigned short)reader.readS();
|
double bpm=(unsigned short)reader.readS();
|
||||||
ds.subsong[0]->hz=(double)bpm/2.5;
|
ds.subsong[0]->hz=(double)bpm/2.5;
|
||||||
|
|
||||||
if (ordersLen>256) {
|
if (ds.subsong[0]->ordersLen>256) {
|
||||||
logE("invalid order count!");
|
logE("invalid order count!");
|
||||||
lastError="invalid order count";
|
lastError="invalid order count";
|
||||||
delete[] file;
|
delete[] file;
|
||||||
|
|
Loading…
Reference in a new issue