Add OPL4-ML daughterboard emulation
This commit is contained in:
@@ -368,6 +368,13 @@ ymfm_drv_set_do_cycles(void *priv, int8_t do_cycles)
|
||||
drv->set_do_cycles(do_cycles);
|
||||
}
|
||||
|
||||
static void
|
||||
ymfm_drv_generate(void *priv, int32_t *data, uint32_t num_samples)
|
||||
{
|
||||
YMFMChipBase *drv = (YMFMChipBase *) priv;
|
||||
drv->generate_resampled(data, num_samples);
|
||||
}
|
||||
|
||||
const device_t ym3812_ymfm_device = {
|
||||
.name = "Yamaha YM3812 OPL2 (YMFM)",
|
||||
.internal_name = "ym3812_ymfm",
|
||||
@@ -431,5 +438,6 @@ const fm_drv_t ymfm_drv {
|
||||
&ymfm_drv_reset_buffer,
|
||||
&ymfm_drv_set_do_cycles,
|
||||
NULL,
|
||||
ymfm_drv_generate,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user