diff options
author | 2014-03-18 06:42:10 +0000 | |
---|---|---|
committer | 2014-03-18 06:42:10 +0000 | |
commit | b6db6a39a21d27d8ed73c3aa757605334127351a (patch) | |
tree | 221008167eb863647c19cf6d0abf2696d4a4734f /src/emu/drawgfx.h | |
parent | 9f691da5f375302e0d049c23bd230ac37de13ee2 (diff) |
Made gfx_element::decode() private; fixed drivers that were calling it directly [Alex Jackson]
Diffstat (limited to 'src/emu/drawgfx.h')
-rw-r--r-- | src/emu/drawgfx.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/emu/drawgfx.h b/src/emu/drawgfx.h index a1287b6db1d..0b5ef4b03b2 100644 --- a/src/emu/drawgfx.h +++ b/src/emu/drawgfx.h @@ -169,7 +169,6 @@ public: // operations void mark_dirty(UINT32 code) { if (code < elements()) { m_dirty[code] = 1; m_dirtyseq++; } } void mark_all_dirty() { memset(&m_dirty[0], 1, elements()); } - void decode(UINT32 code); const UINT8 *get_data(UINT32 code) { @@ -251,6 +250,9 @@ public: void alphastore(palette_device &palette, bitmap_rgb32 &dest, const rectangle &cliprect,UINT32 code, UINT32 color, int flipx, int flipy, INT32 destx, INT32 desty,int fixedalpha, UINT8 *alphatable); void alphatable(palette_device &palette, bitmap_rgb32 &dest, const rectangle &cliprect, UINT32 code, UINT32 color, int flipx, int flipy, INT32 destx, INT32 desty, int fixedalpha ,UINT8 *alphatable); private: + // internal helpers + void decode(UINT32 code); + // internal state palette_device *m_palette; // palette used for drawing |