Fix for mod files with missing? sample data. Fixes #71.
parent
3ab720427e
commit
5808b34a16
|
@ -318,10 +318,12 @@
|
||||||
0867D690FE84028FC02AAC07 /* Project object */ = {
|
0867D690FE84028FC02AAC07 /* Project object */ = {
|
||||||
isa = PBXProject;
|
isa = PBXProject;
|
||||||
buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "Dumb" */;
|
buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "Dumb" */;
|
||||||
|
compatibilityVersion = "Xcode 2.4";
|
||||||
hasScannedForEncodings = 1;
|
hasScannedForEncodings = 1;
|
||||||
mainGroup = 0867D691FE84028FC02AAC07 /* Dumb */;
|
mainGroup = 0867D691FE84028FC02AAC07 /* Dumb */;
|
||||||
productRefGroup = 034768DFFF38A50411DB9C8B /* Products */;
|
productRefGroup = 034768DFFF38A50411DB9C8B /* Products */;
|
||||||
projectDirPath = "";
|
projectDirPath = "";
|
||||||
|
projectRoot = "";
|
||||||
targets = (
|
targets = (
|
||||||
8DC2EF4F0486A6940098B216 /* Dumb Framework */,
|
8DC2EF4F0486A6940098B216 /* Dumb Framework */,
|
||||||
);
|
);
|
||||||
|
|
|
@ -547,9 +547,7 @@ static DUMB_IT_SIGDATA *it_mod_load_sigdata(DUMBFILE *f)
|
||||||
/* And finally, the sample data */
|
/* And finally, the sample data */
|
||||||
for (i = 0; i < sigdata->n_samples; i++) {
|
for (i = 0; i < sigdata->n_samples; i++) {
|
||||||
if (it_mod_read_sample_data(&sigdata->sample[i], f)) {
|
if (it_mod_read_sample_data(&sigdata->sample[i], f)) {
|
||||||
_dumb_it_unload_sigdata(sigdata);
|
continue;
|
||||||
dumbfile_close(f);
|
|
||||||
return NULL;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue