Enable YM2164

This commit is contained in:
Jasmine Iwanek
2024-12-19 03:08:22 -05:00
parent c36510a9f2
commit 7b9d025a26
3 changed files with 0 additions and 10 deletions

View File

@@ -144,12 +144,10 @@ fm_driver_get(int chip_id, fm_drv_t *drv)
drv->priv = device_add_inst(&ymf276_ymfm_device, fm_dev_inst[fm_driver][chip_id]++);
break;
#if 0
case FM_YM2164: /* OPP */
*drv = ymfm_drv;
drv->priv = device_add_inst(&ym2164_ymfm_device, fm_dev_inst[fm_driver][chip_id]++);
break;
#endif
case FM_ESFM:
*drv = esfmu_opl_drv;

View File

@@ -416,12 +416,10 @@ ymfm_drv_init(const device_t *info)
fm = (YMFMChipBase *) new YMFMChip<ymfm::ymf276>(14318181, FM_YMF276, FREQ_49716);
break;
#if 0
case FM_YM2164: /* OPP */
// TODO: Check rates and frequency
fm = (YMFMChipBase *) new YMFMChip<ymfm::ym2164>(14318181, FM_YM2164, FREQ_49716);
break;
#endif
}
fm->set_do_cycles(1);
@@ -768,7 +766,6 @@ const device_t ymf276_ymfm_device = {
.config = NULL
};
#if 0
const device_t ym2164_ymfm_device = {
.name = "Yamaha YM2164 OPP (YMFM)",
.internal_name = "ym2164_ymfm",
@@ -782,7 +779,6 @@ const device_t ym2164_ymfm_device = {
.force_redraw = NULL,
.config = NULL
};
#endif
const fm_drv_t ymfm_drv {
.read = &ymfm_drv_read,