diff options
| author | 2009-04-16 07:54:11 +0000 | |
|---|---|---|
| committer | 2009-04-16 07:54:11 +0000 | |
| commit | 83fbd1ac227f20c06c1179eb05385ea085534bf3 (patch) | |
| tree | 546f3d8627b23bf53c5ec7301c053f999c7ed417 | |
| parent | 25ba9bfc080743648eebe64cd8c4837731674be8 (diff) | |
Fix compile error with debug enabled.
| -rw-r--r-- | src/mame/video/ppu2c0x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/ppu2c0x.c b/src/mame/video/ppu2c0x.c index 475146535f5..ea6af26d500 100644 --- a/src/mame/video/ppu2c0x.c +++ b/src/mame/video/ppu2c0x.c @@ -1090,7 +1090,7 @@ WRITE8_DEVICE_HANDLER( ppu2c0x_w ) #ifdef MAME_DEBUG if (this_ppu->scanline <= PPU_BOTTOM_VISIBLE_SCANLINE) { - const device_config *screen = space->machine->primary_screen; + const device_config *screen = device->machine->primary_screen; logerror(" PPU register %d write %02x during non-vblank scanline %d (MAME %d, beam pos: %d)\n", offset, data, this_ppu->scanline, video_screen_get_vpos(screen), video_screen_get_hpos(screen)); } #endif |
