Add the CMS emulation to the SB 1.0, 1.5 and 2.0

This commit is contained in:
Alexander Babikov
2021-08-04 13:51:00 +05:00
parent 06eda55634
commit e41d473f43
2 changed files with 132 additions and 23 deletions

View File

@@ -22,6 +22,7 @@
#include <86box/snd_mpu401.h>
#include <86box/snd_opl.h>
#include <86box/snd_sb_dsp.h>
#include <86box/snd_cms.h>
#define SADLIB 1 /* No DSP */
#define SB1 2 /* DSP v1.05 */
@@ -111,7 +112,8 @@ typedef struct sb_ct1745_mixer_t
typedef struct sb_t
{
uint8_t opl_enabled, mixer_enabled;
uint8_t cms_enabled, opl_enabled, mixer_enabled;
cms_t cms;
opl_t opl, opl2;
sb_dsp_t dsp;
union {