diff options
author | 2017-05-30 15:48:51 +0200 | |
---|---|---|
committer | 2017-05-30 15:51:15 +0200 | |
commit | 38b56341b6f3eb139796d0b5a05e1296e76e2fe5 (patch) | |
tree | 1e2788f580f51d76b3b79fa9b30608de75333371 /src/emu/drawgfx.h | |
parent | a13e62cfc1baaf1cbe4a86ba4f331c4faffd16b0 (diff) |
viewgfx: Fix the case when a gfx element has no palette [O. Galibert]
Diffstat (limited to 'src/emu/drawgfx.h')
-rw-r--r-- | src/emu/drawgfx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/drawgfx.h b/src/emu/drawgfx.h index fa1fe95b5e3..fe5cb7679df 100644 --- a/src/emu/drawgfx.h +++ b/src/emu/drawgfx.h @@ -165,6 +165,7 @@ public: u32 colors() const { return m_total_colors; } u32 rowbytes() const { return m_line_modulo; } bool has_pen_usage() const { return !m_pen_usage.empty(); } + bool has_palette() const { return m_palette; } // used by tilemaps u32 dirtyseq() const { return m_dirtyseq; } |