summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/drawgfx.h
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2017-05-30 15:48:51 +0200
committer Olivier Galibert <galibert@pobox.com>2017-05-30 15:51:15 +0200
commit38b56341b6f3eb139796d0b5a05e1296e76e2fe5 (patch)
tree1e2788f580f51d76b3b79fa9b30608de75333371 /src/emu/drawgfx.h
parenta13e62cfc1baaf1cbe4a86ba4f331c4faffd16b0 (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.h1
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; }