mirror of
https://github.com/holub/mame
synced 2025-04-19 15:11:37 +03:00
bus/nubus: Fixed Apple 4•8 NuBus video card screen base address in 24-bit mode.
This commit is contained in:
parent
685d47fe5e
commit
b2c13bc407
@ -233,7 +233,7 @@ uint32_t jmfb_device::screen_update(screen_device &screen, bitmap_rgb32 &bitmap,
|
||||
uint32_t const stride = m_stride * 8 / 3;
|
||||
for (int y = 0; y < m_yres; y++)
|
||||
{
|
||||
std::copy_n(&m_vram[y * stride], m_xres, &bitmap.pix(y));
|
||||
std::copy_n(&m_vram[(0xa00 / 4) + (y * stride)], m_xres, &bitmap.pix(y));
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user