diff options
Diffstat (limited to 'src/mame/video/midtunit.cpp')
-rw-r--r-- | src/mame/video/midtunit.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mame/video/midtunit.cpp b/src/mame/video/midtunit.cpp index 71112f2e32b..cb2df663e4b 100644 --- a/src/mame/video/midtunit.cpp +++ b/src/mame/video/midtunit.cpp @@ -31,13 +31,18 @@ midtunit_video_device::midtunit_video_device(const machine_config &mconfig, cons { } +midwunit_video_device::midwunit_video_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) + : midtunit_video_device(mconfig, type, tag, owner, clock) +{ +} + midwunit_video_device::midwunit_video_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : midtunit_video_device(mconfig, MIDWUNIT_VIDEO, tag, owner, clock) { } midxunit_video_device::midxunit_video_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : midtunit_video_device(mconfig, MIDXUNIT_VIDEO, tag, owner, clock) + : midwunit_video_device(mconfig, MIDXUNIT_VIDEO, tag, owner, clock) { } @@ -128,7 +133,7 @@ WRITE16_MEMBER(midtunit_video_device::midtunit_vram_w) if (m_videobank_select) { if (ACCESSING_BITS_0_7) - m_local_videoram[offset] = 0;// (data & 0xff) | ((m_dma_register[DMA_PALETTE] & 0xff) << 8); + m_local_videoram[offset] = (data & 0xff) | ((m_dma_register[DMA_PALETTE] & 0xff) << 8); if (ACCESSING_BITS_8_15) m_local_videoram[offset + 1] = ((data >> 8) & 0xff) | (m_dma_register[DMA_PALETTE] & 0xff00); } |