mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-29 16:03:01 +00:00
Synchronize the OPL4 PCM per-channel OSC volume between the openMSX core and the ymfm core.
Also add psikyo arcade presets.
This commit is contained in:
parent
49c214f72e
commit
4174be22c1
2 changed files with 25 additions and 1 deletions
|
@ -646,7 +646,7 @@ void DivPlatformOPL::acquire_ymfm4(short** buf, size_t len) {
|
||||||
chOut+=pcmChan[i]->debug_output(1);
|
chOut+=pcmChan[i]->debug_output(1);
|
||||||
chOut+=pcmChan[i]->debug_output(2);
|
chOut+=pcmChan[i]->debug_output(2);
|
||||||
chOut+=pcmChan[i]->debug_output(3);
|
chOut+=pcmChan[i]->debug_output(3);
|
||||||
oscBuf[oscOffs]->data[oscBuf[oscOffs]->needle++]=CLAMP(chOut,-32768,32767);
|
oscBuf[oscOffs]->data[oscBuf[oscOffs]->needle++]=CLAMP(chOut<<1,-32768,32767);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1847,6 +1847,30 @@ void FurnaceGUI::initSystemPresets() {
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
ENTRY(
|
||||||
|
"Psikyo", {}
|
||||||
|
);
|
||||||
|
SUB_ENTRY(
|
||||||
|
"Psikyo 68EC020 hardware with OPL4", {
|
||||||
|
CH(DIV_SYSTEM_OPL4, 1.0f, 0, "")
|
||||||
|
}
|
||||||
|
);
|
||||||
|
SUB_ENTRY(
|
||||||
|
"Psikyo 68EC020 hardware with OPL4 (drums mode)", {
|
||||||
|
CH(DIV_SYSTEM_OPL4_DRUMS, 1.0f, 0, "")
|
||||||
|
}
|
||||||
|
);
|
||||||
|
SUB_ENTRY(
|
||||||
|
"Psikyo SH-2 hardware", {
|
||||||
|
CH(DIV_SYSTEM_OPL4, 1.0f, 0, "clockSel=1")
|
||||||
|
}
|
||||||
|
);
|
||||||
|
SUB_ENTRY(
|
||||||
|
"Psikyo SH-2 hardware (drums mode)", {
|
||||||
|
CH(DIV_SYSTEM_OPL4_DRUMS, 1.0f, 0, "clockSel=1")
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
ENTRY(
|
ENTRY(
|
||||||
"Sega", {}
|
"Sega", {}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue