mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-27 15:03:01 +00:00
Merge branch 'tildearrow:master' into master
This commit is contained in:
commit
7822c53469
1 changed files with 1 additions and 1 deletions
|
@ -869,7 +869,7 @@ bool DivEngine::loadDMF(unsigned char* file, size_t len) {
|
||||||
if (ds.version>0x15) {
|
if (ds.version>0x15) {
|
||||||
sample->depth=(DivSampleDepth)reader.readC();
|
sample->depth=(DivSampleDepth)reader.readC();
|
||||||
if (sample->depth!=DIV_SAMPLE_DEPTH_8BIT && sample->depth!=DIV_SAMPLE_DEPTH_16BIT) {
|
if (sample->depth!=DIV_SAMPLE_DEPTH_8BIT && sample->depth!=DIV_SAMPLE_DEPTH_16BIT) {
|
||||||
logW("%d: sample depth is wrong! (%d)",i,sample->depth);
|
logW("%d: sample depth is wrong! (%d)",i,(int)sample->depth);
|
||||||
sample->depth=DIV_SAMPLE_DEPTH_16BIT;
|
sample->depth=DIV_SAMPLE_DEPTH_16BIT;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue