diff options
author | 2014-02-16 17:32:10 +0000 | |
---|---|---|
committer | 2014-02-16 17:32:10 +0000 | |
commit | 7cde79cd9cc8d2fa5ecda0709c15d0f39af92646 (patch) | |
tree | cf6a74146f83c43bc272302c0a6f7ffccdf364e9 /src/mess/video/mz700.c | |
parent | 36d081e756af22894f32c3497202925ce8d7f873 (diff) |
Created gfxdecode_device instead of using machine fixed gfxdecode [Miodrag Milanovic]
Updated all devices and drivers for using it.
out of whatsnew:
Note that it is made to work same as before, in some cases it can be more
logic to move gfxdevice into subdevice itself then to keep it in main driver.
Diffstat (limited to 'src/mess/video/mz700.c')
-rw-r--r-- | src/mess/video/mz700.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mess/video/mz700.c b/src/mess/video/mz700.c index cfd699a69be..fa87cd331c5 100644 --- a/src/mess/video/mz700.c +++ b/src/mess/video/mz700.c @@ -62,7 +62,7 @@ UINT32 mz_state::screen_update_mz700(screen_device &screen, bitmap_ind16 &bitmap color = m_colorram[offs]; code = videoram[offs] | (color & 0x80) << 1; - machine().gfx[0]->opaque(bitmap,cliprect, code, color, 0, 0, sx, sy); + m_gfxdecode->gfx(0)->opaque(bitmap,cliprect, code, color, 0, 0, sx, sy); } return 0; @@ -75,7 +75,7 @@ UINT32 mz_state::screen_update_mz700(screen_device &screen, bitmap_ind16 &bitmap VIDEO_START_MEMBER(mz_state,mz800) { - machine().gfx[0]->set_source(m_cgram); + m_gfxdecode->gfx(0)->set_source(m_cgram); } UINT32 mz_state::screen_update_mz800(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) @@ -124,5 +124,5 @@ WRITE8_MEMBER(mz_state::mz800_cgram_w) { m_cgram[offset] = data; - machine().gfx[0]->mark_dirty(offset/8); + m_gfxdecode->gfx(0)->mark_dirty(offset/8); } |