1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-26 13:18:31 +00:00

Fixed YM2151 struct to match HW behavior

This commit is contained in:
ZeroByteOrg
2022-08-08 16:16:37 -05:00
parent 4de40a20cb
commit 5608453aea
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -285,11 +285,11 @@ struct __vera {
/* Audio chip */
struct __ym2151 {
unsigned char reg; /* Register number for data */
union {
unsigned char reg; /* Register number for data */
unsigned char data;
unsigned char status; /* Busy flag */
};
unsigned char data;
};
#define YM2151 (*(volatile struct __ym2151 *)0x9F40)