diff options
Diffstat (limited to 'src/mame/video/n8080.cpp')
-rw-r--r-- | src/mame/video/n8080.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mame/video/n8080.cpp b/src/mame/video/n8080.cpp index c80fb805e07..b8e16bf5cf8 100644 --- a/src/mame/video/n8080.cpp +++ b/src/mame/video/n8080.cpp @@ -126,6 +126,7 @@ void helifire_state::video_start() uint32_t spacefev_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { + const bool mono = bool(m_video_conf->read()); uint8_t mask = flip_screen() ? 0xff : 0x00; uint8_t const *pRAM = m_videoram; @@ -176,6 +177,9 @@ uint32_t spacefev_state::screen_update(screen_device &screen, bitmap_ind16 &bitm } } + if (mono) + color = 7; // force B&W here + for (int n = 0; n < 8; n++) { pLine[(x + n) ^ mask] = (pRAM[x >> 3] & (1 << n)) ? color : 0; |