fix macro

This commit is contained in:
nino-porcino 2021-12-17 09:31:23 +01:00
parent 42bfc9c0f8
commit 0d5a9d6ecd

View File

@ -88,8 +88,8 @@ const word TMS_SPRITE_PATTERNS = 0x1800;
// read/write to TMS9918 macros
#define TMS_WRITE_CTRL_PORT(a) (*VDP_REG=(byte)(a))
#define TMS_WRITE_DATA_PORT(a) (*VDP_DATA=(byte)(a))
#define TMS_READ_CTRL_PORT (*VDP_REG);
#define TMS_READ_DATA_PORT (*VDP_DATA);
#define TMS_READ_CTRL_PORT (*VDP_REG)
#define TMS_READ_DATA_PORT (*VDP_DATA)
// buffer containing the last register values, because TMS registers are write only
byte tms_regs_latch[8];