mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 13:05:11 +00:00
C219: fix VGM export crash
This commit is contained in:
parent
ead19d6111
commit
e7fe99f795
1 changed files with 1 additions and 1 deletions
|
@ -2249,7 +2249,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop, int version, bool p
|
|||
w->writeC(0x67);
|
||||
w->writeC(0x66);
|
||||
w->writeC(0x8d);
|
||||
unsigned short* mem=(unsigned short*)writeC219[i]->getSampleMem();
|
||||
unsigned char* mem=(unsigned char*)writeC219[i]->getSampleMem();
|
||||
size_t memLen=writeC219[i]->getSampleMemUsage();
|
||||
w->writeI((memLen+8)|(i*0x80000000));
|
||||
w->writeI(writeC219[i]->getSampleMemCapacity());
|
||||
|
|
Loading…
Reference in a new issue