diff options
Diffstat (limited to 'src/emu/bus/nubus/pds30_30hr.c')
-rw-r--r-- | src/emu/bus/nubus/pds30_30hr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/bus/nubus/pds30_30hr.c b/src/emu/bus/nubus/pds30_30hr.c index be7cb26a48c..a92044d1b98 100644 --- a/src/emu/bus/nubus/pds30_30hr.c +++ b/src/emu/bus/nubus/pds30_30hr.c @@ -120,7 +120,7 @@ void nubus_xceed30hr_device::device_reset() m_clutoffs = 0; m_vbl_disable = 1; m_mode = 0; - memset(m_vram, 0, VRAM_SIZE); + memset(&m_vram[0], 0, VRAM_SIZE); memset(m_palette, 0, sizeof(m_palette)); m_palette[0] = rgb_t(255, 255, 255); @@ -150,7 +150,7 @@ UINT32 nubus_xceed30hr_device::screen_update(screen_device &screen, bitmap_rgb32 int x, y; UINT8 pixels, *vram; - vram = m_vram + 1024; + vram = &m_vram[1024]; switch (m_mode) { |