Merge branch 'master' of https://github.com/tildearrow/furnace into x1_010_bank

This commit is contained in:
cam900 2023-03-12 21:10:00 +09:00
commit d84d678929
2 changed files with 8 additions and 4 deletions

View file

@ -924,14 +924,14 @@ void DivPlatformX1_010::notifyInsDeletion(void* ins) {
void DivPlatformX1_010::setFlags(const DivConfig& flags) {
switch (flags.getInt("clockSel",0)) {
case 0: // 16MHz (earlier hardwares)
chipClock=16000000;
break;
case 1: // 16.67MHz (later hardwares)
chipClock=50000000.0/3.0;
break;
case 2: // 14.32MHz (see https://github.com/mamedev/mame/blob/master/src/mame/taito/champbwl.cpp#L620)
chipClock=COLOR_NTSC*4.0;
break;
// Other clock is used
default:
default: // 16MHz (earlier hardwares)
chipClock=16000000;
break;
}

View file

@ -856,6 +856,10 @@ bool FurnaceGUI::drawSysConf(int chan, DivSystem type, DivConfig& flags, bool mo
clockSel=1;
altered=true;
}
if (ImGui::RadioButton("14.32MHz (NTSC)",clockSel==2)) {
clockSel=2;
altered=true;
}
if (ImGui::Checkbox("Stereo",&stereo)) {
altered=true;