total extinction of legacy sample mode, part 7
finish the conversion method
This commit is contained in:
parent
0ac7106e0e
commit
69ae4f56bd
4 changed files with 67 additions and 1 deletions
|
|
@ -948,6 +948,7 @@ bool DivEngine::loadDMF(unsigned char* file, size_t len) {
|
|||
if (ds.version<=0x08) {
|
||||
sample->centerRate=ymuSampleRate*400;
|
||||
}
|
||||
sample->legacyRate=sample->centerRate;
|
||||
if (ds.version>0x15) {
|
||||
sample->depth=(DivSampleDepth)reader.readC();
|
||||
if (sample->depth!=DIV_SAMPLE_DEPTH_8BIT && sample->depth!=DIV_SAMPLE_DEPTH_16BIT) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue