Mercurial > hg > dmlib
comparison minijss/jloadjss.c @ 1271:197c9ccdb33c
Cosmetic.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 03 Jun 2015 17:00:07 +0300 |
parents | 60dc14a2e4c5 |
children | dce4730372c7 |
comparison
equal
deleted
inserted
replaced
1270:7f20f611c241 | 1271:197c9ccdb33c |
---|---|
491 !dmf_read_byte(inFile, &jssE.vibratoType) || | 491 !dmf_read_byte(inFile, &jssE.vibratoType) || |
492 !dmf_read_le16(inFile, &jssE.vibratoSweep) || | 492 !dmf_read_le16(inFile, &jssE.vibratoSweep) || |
493 !dmf_read_le16(inFile, &jssE.vibratoDepth) || | 493 !dmf_read_le16(inFile, &jssE.vibratoDepth) || |
494 !dmf_read_le16(inFile, &jssE.vibratoRate) || | 494 !dmf_read_le16(inFile, &jssE.vibratoRate) || |
495 !dmf_read_le16(inFile, &jssE.fadeOut)) | 495 !dmf_read_le16(inFile, &jssE.fadeOut)) |
496 { | |
496 JSSERROR(DMERR_FREAD, DMERR_FREAD, | 497 JSSERROR(DMERR_FREAD, DMERR_FREAD, |
497 "Failed to read ext.instrument #%d header.\n", | 498 "Failed to read ext.instrument #%d header.\n", |
498 index); | 499 index); |
500 } | |
499 | 501 |
500 // Allocate instrument | 502 // Allocate instrument |
501 if ((einst = jssAllocateExtInstrument()) == NULL) | 503 if ((einst = jssAllocateExtInstrument()) == NULL) |
502 { | 504 { |
503 JSSERROR(DMERR_MALLOC, DMERR_MALLOC, | 505 JSSERROR(DMERR_MALLOC, DMERR_MALLOC, |