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/drivers/multi8.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/drivers/multi8.c')
| -rw-r--r-- | src/mess/drivers/multi8.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/drivers/multi8.c b/src/mess/drivers/multi8.c index 058ab7eaac9..5dbc43732db 100644 --- a/src/mess/drivers/multi8.c +++ b/src/mess/drivers/multi8.c @@ -183,7 +183,7 @@ UINT32 multi8_state::screen_update_multi8(screen_device &screen, bitmap_ind16 &b } } - // machine().gfx[0]->opaque(bitmap,cliprect, tile,color >> 5, 0, 0, x*8, y*8); + // m_gfxdecode->gfx(0)->opaque(bitmap,cliprect, tile,color >> 5, 0, 0, x*8, y*8); // draw cursor if(mc6845_cursor_addr+0xc000 == count) @@ -674,7 +674,7 @@ static MACHINE_CONFIG_START( multi8, multi8_state ) MCFG_SCREEN_VISIBLE_AREA(0, 320-1, 0, 200-1) MCFG_SCREEN_UPDATE_DRIVER(multi8_state, screen_update_multi8) MCFG_PALETTE_LENGTH(8) - MCFG_GFXDECODE(multi8) + MCFG_GFXDECODE_ADD("gfxdecode", multi8) /* Audio */ MCFG_SPEAKER_STANDARD_MONO("mono") |
