Mercurial > hg > dmlib
comparison tools/xm2jss.c @ 2001:c0b062f881e5
Increase pattern buffer size.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 03 Jul 2018 09:46:19 +0300 |
parents | 0fddc51788de |
children | e3f0eaf23f4f |
comparison
equal
deleted
inserted
replaced
2000:07cf888f0a1e | 2001:c0b062f881e5 |
---|---|
447 /* Save a JSSMOD file | 447 /* Save a JSSMOD file |
448 */ | 448 */ |
449 int jssSaveJSSMOD(FILE *outFile, JSSModule *module, int patMode, int flags8, int flags16) | 449 int jssSaveJSSMOD(FILE *outFile, JSSModule *module, int patMode, int flags8, int flags16) |
450 { | 450 { |
451 JSSMODHeader jssH; | 451 JSSMODHeader jssH; |
452 const size_t patBufSize = 256*1024; // 256kB pattern buffer | 452 const size_t patBufSize = 512*1024; // 256kB pattern buffer |
453 Uint8 *patBuf; | 453 Uint8 *patBuf; |
454 size_t totalSize; | 454 size_t totalSize; |
455 int index, res; | 455 int index, res; |
456 | 456 |
457 // Check the module | 457 // Check the module |