diff options
| author | 2025-07-05 19:14:24 +0100 | |
|---|---|---|
| committer | 2025-07-05 19:14:24 +0100 | |
| commit | 70074ba96617c7d47fa96dffed51c423624a6de3 (patch) | |
| tree | 5022b53df50e145e1ec4ef8092912dc1b5dca8de | |
| parent | cec8af59aa55b4c27eb0b42c3b11c729c361cdaf (diff) | |
LDP1450: Fix display mode selection issue and grey background
| -rw-r--r-- | src/devices/machine/ldp1450hle.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/ldp1450hle.cpp b/src/devices/machine/ldp1450hle.cpp index 23c1e535e12..9be4ec7ab20 100644 --- a/src/devices/machine/ldp1450hle.cpp +++ b/src/devices/machine/ldp1450hle.cpp @@ -296,7 +296,7 @@ void sony_ldp1450hle_device::overlay_draw_char(bitmap_yuy16 &bitmap, uint8_t ch, // m_user_index_mode >> 5 & 0x04: 0,2 = normal, 1 = 1px shadow, 3 = grey box uint16_t black = 0x0080; - u8 modeval = (m_user_index_mode >> 5) & 0x04; + u8 modeval = (m_user_index_mode >> 5) & 0x03; for (u32 y = 0; y < char_height; y++) { @@ -310,8 +310,8 @@ void sony_ldp1450hle_device::overlay_draw_char(bitmap_yuy16 &bitmap, uint8_t ch, { if (modeval == 0x03) { - // FIXME: this is unreachable because modeval is masked with 0x04 above - //fill with grey + //TODO: Check Grey is correct value + bitmap.pix(ystart + (y + 1) * OVERLAY_PIXEL_HEIGHT + yy, xmin+xx) = 0xc080; } if (m_osd_font[ch].pix(y,x) != black) |
