diff options
Diffstat (limited to 'src/mess/machine/zx.c')
-rw-r--r-- | src/mess/machine/zx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mess/machine/zx.c b/src/mess/machine/zx.c index f9bfba3c749..37b69eb0a77 100644 --- a/src/mess/machine/zx.c +++ b/src/mess/machine/zx.c @@ -13,9 +13,9 @@ #define DEBUG_ZX81_PORTS 1 #define DEBUG_ZX81_VSYNC 1 -#define LOG_ZX81_IOR(_comment) do { if (DEBUG_ZX81_PORTS) logerror("ZX81 IOR: %04x, Data: %02x, Scanline: %d (%s)\n", offset, data, space.machine().primary_screen->vpos(), _comment); } while (0) -#define LOG_ZX81_IOW(_comment) do { if (DEBUG_ZX81_PORTS) logerror("ZX81 IOW: %04x, Data: %02x, Scanline: %d (%s)\n", offset, data, space.machine().primary_screen->vpos(), _comment); } while (0) -#define LOG_ZX81_VSYNC do { if (DEBUG_ZX81_VSYNC) logerror("VSYNC starts in scanline: %d\n", space.machine().primary_screen->vpos()); } while (0) +#define LOG_ZX81_IOR(_comment) do { if (DEBUG_ZX81_PORTS) logerror("ZX81 IOR: %04x, Data: %02x, Scanline: %d (%s)\n", offset, data, space.machine().first_screen()->vpos(), _comment); } while (0) +#define LOG_ZX81_IOW(_comment) do { if (DEBUG_ZX81_PORTS) logerror("ZX81 IOW: %04x, Data: %02x, Scanline: %d (%s)\n", offset, data, space.machine().first_screen()->vpos(), _comment); } while (0) +#define LOG_ZX81_VSYNC do { if (DEBUG_ZX81_VSYNC) logerror("VSYNC starts in scanline: %d\n", space.machine().first_screen()->vpos()); } while (0) WRITE8_MEMBER(zx_state::zx_ram_w) |