diff options
| author | 2012-09-17 06:49:13 +0000 | |
|---|---|---|
| committer | 2012-09-17 06:49:13 +0000 | |
| commit | e25c13f2532730ebf50d0cffa0147393fd8e0228 (patch) | |
| tree | a6c25d1de7041f26afed559dbc6670fa550e6b41 /src/emu/drawgfx.c | |
| parent | f97e8f00818bd8d898facc206ed33ab72cf10a75 (diff) | |
Clean-ups and version bumpmame0147
note: hoarded dump removed too from coco_cart.xml, this will not be tolerated
Diffstat (limited to 'src/emu/drawgfx.c')
| -rw-r--r-- | src/emu/drawgfx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/drawgfx.c b/src/emu/drawgfx.c index ccca202a711..5051d22871a 100644 --- a/src/emu/drawgfx.c +++ b/src/emu/drawgfx.c @@ -348,7 +348,7 @@ void gfx_element::set_layout(const gfx_layout &gl, const UINT8 *srcdata) m_pen_usage.resize(m_total_elements); else m_pen_usage.reset(); - + // set the source set_source(srcdata); } @@ -402,7 +402,7 @@ void gfx_element::decode(UINT32 code) // zap the data to 0 UINT8 *decode_base = m_gfxdata + code * m_char_modulo; memset(decode_base, 0, m_char_modulo); - + // iterate over planes for (int plane = 0; plane < m_layout_planes; plane++) { @@ -414,7 +414,7 @@ void gfx_element::decode(UINT32 code) { int yoffs = planeoffs + m_layout_yoffset[y]; UINT8 *dp = decode_base + y * rowbytes(); - + // iterate over columns for (int x = 0; x < m_origwidth; x++) if (readbit(m_srcdata, yoffs + m_layout_xoffset[x])) |
