diff options
-rw-r--r-- | src/mame/drivers/octopus.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/mame/drivers/octopus.cpp b/src/mame/drivers/octopus.cpp index 4228957cf45..9d05e0cd9f2 100644 --- a/src/mame/drivers/octopus.cpp +++ b/src/mame/drivers/octopus.cpp @@ -750,8 +750,16 @@ SCN2674_DRAW_CHARACTER_MEMBER(octopus_state::display_pixels) { uint8_t tile = m_vram[address & 0x0fff]; uint8_t data = m_fontram[(tile * 16) + linecount]; - for (int z=0;z<8;z++) - bitmap.pix32(y,x + z) = BIT(data,z) ? rgb_t::white() : rgb_t::black(); + if(cursor && !blink) + { + for (int z=0;z<8;z++) + bitmap.pix32(y,x + z) = BIT(data,z) ? rgb_t::black() : rgb_t::white(); + } + else + { + for (int z=0;z<8;z++) + bitmap.pix32(y,x + z) = BIT(data,z) ? rgb_t::white() : rgb_t::black(); + } } } |