diff options
| author | 2025-11-23 12:00:47 +0100 | |
|---|---|---|
| committer | 2025-11-23 12:00:47 +0100 | |
| commit | 438a275acb3bde1b1b3104e8ae380612b7996fe4 (patch) | |
| tree | 896e03c356c5b9872d859a6b94f972503b7b08ce | |
| parent | a46450cd5c317a3f52e019402b3b4514eb2578c3 (diff) | |
funtech_h8: fix compile warning
| -rw-r--r-- | src/mame/skeleton/funtech_h8.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/skeleton/funtech_h8.cpp b/src/mame/skeleton/funtech_h8.cpp index 15c2debafcc..27286d8cdbb 100644 --- a/src/mame/skeleton/funtech_h8.cpp +++ b/src/mame/skeleton/funtech_h8.cpp @@ -102,7 +102,7 @@ void funtech_h8_state::video_start() TILE_GET_INFO_MEMBER(funtech_h8_state::get_tile_info) { - uint16_t const tile = m_tileram[tile_index] + ((m_attrram[tile_index] & 0x0f) << 8) | (m_tilebank << 12); + uint16_t const tile = m_tileram[tile_index] | ((m_attrram[tile_index] & 0x0f) << 8) | (m_tilebank << 12); uint16_t const color = (m_attrram[tile_index] >> 4); tileinfo.set(0, tile, color, 0); @@ -123,7 +123,7 @@ void funtech_h8_state::attrram_w(offs_t offset, uint8_t data) template <uint8_t Which> TILE_GET_INFO_MEMBER(funtech_h8_state::get_reel_tile_info) { - uint16_t const tile = m_reel_tileram[Which][tile_index] + ((m_reel_attrram[Which][tile_index] & 0x0f) << 8); + uint16_t const tile = m_reel_tileram[Which][tile_index] | ((m_reel_attrram[Which][tile_index] & 0x0f) << 8); uint16_t const color = (m_reel_attrram[Which][tile_index] >> 4); tileinfo.set(1, tile, color, 0); |
