mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 01:25:33 -07:00
Make the Yamaha YMF701/71x use the YMF289B variant of the OPL3 per the YMF-715 datasheet
This commit is contained in:
@@ -428,7 +428,7 @@ ymf701_init(const device_t *info)
|
||||
ymf701->sb->opl_mixer = ymf701;
|
||||
ymf701->sb->opl_mix = ymf701_filter_opl;
|
||||
|
||||
fm_driver_get(FM_YMF262, &ymf701->sb->opl);
|
||||
fm_driver_get(FM_YMF289B, &ymf701->sb->opl);
|
||||
io_sethandler(ymf701->cur_sb_addr + 0, 0x0004, ymf701->sb->opl.read, NULL, NULL, ymf701->sb->opl.write, NULL, NULL, ymf701->sb->opl.priv);
|
||||
io_sethandler(ymf701->cur_sb_addr + 8, 0x0002, ymf701->sb->opl.read, NULL, NULL, ymf701->sb->opl.write, NULL, NULL, ymf701->sb->opl.priv);
|
||||
io_sethandler(0x0388, 0x0004, ymf701->sb->opl.read, NULL, NULL, ymf701->sb->opl.write, NULL, NULL, ymf701->sb->opl.priv);
|
||||
|
||||
@@ -718,7 +718,7 @@ ymf71x_init(const device_t *info)
|
||||
ymf71x->sb->opl_mixer = ymf71x;
|
||||
ymf71x->sb->opl_mix = ymf71x_filter_opl;
|
||||
|
||||
fm_driver_get(FM_YMF262, &ymf71x->sb->opl);
|
||||
fm_driver_get(FM_YMF289B, &ymf71x->sb->opl);
|
||||
|
||||
sound_add_handler(ymf71x_get_buffer, ymf71x);
|
||||
music_add_handler(sb_get_music_buffer_sbpro, ymf71x->sb);
|
||||
|
||||
Reference in New Issue
Block a user