fix Neo Geo detuning

This commit is contained in:
tildearrow 2022-02-04 16:21:18 -05:00
parent 31bda87bb7
commit 4e1c6d78c2
2 changed files with 6 additions and 1 deletions

View file

@ -1545,6 +1545,11 @@ bool DivEngine::loadDMF(unsigned char* file, size_t len) {
ds.linearPitch=true;
ds.loopModality=0;
// Neo Geo detune
if (ds.system[0]==DIV_SYSTEM_YM2610 || ds.system[0]==DIV_SYSTEM_YM2610_EXT) {
ds.tuning=443.23;
}
logI("reading module data...\n");
if (ds.version>0x0c) {
ds.hilightA=reader.readC();