total extinction of legacy sample mode, part 7

finish the conversion method
This commit is contained in:
tildearrow 2025-11-09 17:47:37 -05:00
parent 0ac7106e0e
commit 69ae4f56bd
4 changed files with 67 additions and 1 deletions

View file

@ -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) {