mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-31 20:11:29 +00:00
fix Neo Geo detuning
This commit is contained in:
parent
31bda87bb7
commit
4e1c6d78c2
2 changed files with 6 additions and 1 deletions
|
@ -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();
|
||||
|
|
|
@ -26,4 +26,4 @@ static int orderedOps[4]={
|
|||
#define rWrite(a,v) if (!skipRegisterWrites) {pendingWrites[a]=v;}
|
||||
#define immWrite(a,v) if (!skipRegisterWrites) {writes.emplace(a,v); if (dumpWrites) {addWrite(a,v);} }
|
||||
|
||||
#define CHIP_FREQBASE 9509775
|
||||
#define CHIP_FREQBASE 9440540
|
Loading…
Reference in a new issue