diff options
author | 2019-10-18 11:01:04 -0400 | |
---|---|---|
committer | 2019-10-18 11:02:42 -0400 | |
commit | ad27643c07d54fc2cc3e56327fe07335e7763d52 (patch) | |
tree | 47dfcda286fa456b16c73b6a3c9826e321ebf9d6 | |
parent | 866b52fda957b3d435730cd1cb9832a3275f6bd8 (diff) |
tmap038.cpp: Fix clang build [-Werror,-Wsometimes-uninitialized]; if (X) else if (!X) is ridiculous (nw)
-rw-r--r-- | src/mame/video/tmap038.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/tmap038.cpp b/src/mame/video/tmap038.cpp index f9f4fb1e1a6..ef66c49c868 100644 --- a/src/mame/video/tmap038.cpp +++ b/src/mame/video/tmap038.cpp @@ -159,7 +159,7 @@ TILE_GET_INFO_MEMBER(tilemap038_device::get_tile_info) if (!m_038_cb.isnull()) m_038_cb(true, color, pri, code); } - else if (!m_tiledim) + else { tile = (m_vram_8x8 != nullptr) ? ((m_vram_8x8[tile_index * 2] << 16) + m_vram_8x8[(tile_index * 2) + 1]) : 0; |