Switched to OPL emulation to DOSBox dbopl emulator.

Fixed SB Pro v2.
Clarified GPL license in readme.txt.
This commit is contained in:
TomW 2014-02-27 19:42:06 +00:00
commit 78f2d4a229
13 changed files with 1985 additions and 5609 deletions

View file

@ -1,21 +1,13 @@
#include "mame/fmopl.h"
#include "mame/ymf262.h"
typedef struct opl_t
{
void *YM3812[2];
void *YMF262;
int chip_nr[2];
int timers[2][2];
int timers_enable[2][2];
int16_t *bufs[4];
int16_t filtbuf[2];
} opl_t;
uint8_t opl_read(uint16_t a, void *priv);
void opl_write(uint16_t a, uint8_t v, void *priv);
uint8_t opl2_read(uint16_t a, void *priv);
void opl2_write(uint16_t a, uint8_t v, void *priv);
uint8_t opl2_l_read(uint16_t a, void *priv);
@ -30,6 +22,3 @@ void opl3_poll(opl_t *opl, int16_t *bufl, int16_t *bufr);
void opl2_init(opl_t *opl);
void opl3_init(opl_t *opl);
void opl2_close(opl_t *opl);
void opl3_close(opl_t *opl);