OPL cycles fixes.

This commit is contained in:
OBattler
2020-07-19 21:32:23 +02:00
parent d1fca11137
commit 146d041945
3 changed files with 20 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ typedef struct {
#else
void *opl;
#endif
int8_t is_opl3;
int8_t is_opl3, do_cycles;
uint16_t port;
uint8_t status;
@@ -47,6 +47,8 @@ typedef struct {
} opl_t;
extern void opl_set_do_cycles(opl_t *dev, int8_t do_cycles);
extern uint8_t opl2_read(uint16_t port, void *);
extern void opl2_write(uint16_t port, uint8_t val, void *);
extern void opl2_init(opl_t *);