mirror of
https://github.com/holub/mame
synced 2025-10-07 01:16:22 +03:00
Update ssv.cpp to new st-0020 (nw)
This commit is contained in:
parent
1613089de6
commit
562cc3059b
@ -484,9 +484,9 @@ static ADDRESS_MAP_START( gdfs_map, AS_PROGRAM, 16, ssv_state )
|
||||
AM_RANGE(0x500000, 0x500001) AM_WRITE(gdfs_eeprom_w)
|
||||
AM_RANGE(0x540000, 0x540001) AM_READ(gdfs_eeprom_r)
|
||||
AM_RANGE(0x600000, 0x600fff) AM_RAM
|
||||
AM_RANGE(0x800000, 0x87ffff) AM_DEVREADWRITE( "st0020_spr", st0020_device, st0020_sprram_r, st0020_sprram_w );
|
||||
AM_RANGE(0x8c0000, 0x8c00ff) AM_DEVREADWRITE( "st0020_spr", st0020_device, st0020_blitram_r, st0020_blitram_w );
|
||||
AM_RANGE(0x900000, 0x9fffff) AM_DEVREADWRITE( "st0020_spr", st0020_device, st0020_gfxram_r, st0020_gfxram_w );
|
||||
AM_RANGE(0x800000, 0x87ffff) AM_DEVREADWRITE( "st0020_spr", st0020_device, sprram_r, sprram_w );
|
||||
AM_RANGE(0x8c0000, 0x8c00ff) AM_DEVREADWRITE( "st0020_spr", st0020_device, regs_r, regs_w );
|
||||
AM_RANGE(0x900000, 0x9fffff) AM_DEVREADWRITE( "st0020_spr", st0020_device, gfxram_r, gfxram_w );
|
||||
SSV_MAP( 0xc00000 )
|
||||
ADDRESS_MAP_END
|
||||
|
||||
|
@ -962,7 +962,7 @@ uint32_t ssv_state::screen_update_gdfs(screen_device &screen, bitmap_ind16 &bitm
|
||||
screen_update(screen, bitmap, cliprect);
|
||||
|
||||
// draw zooming sprites
|
||||
m_gdfs_st0020->st0020_draw_all(bitmap, cliprect);
|
||||
m_gdfs_st0020->update_screen(screen, bitmap, cliprect, false);
|
||||
|
||||
m_gdfs_tmap->set_scrollx(0, m_gdfs_tmapscroll[0x0c/2]);
|
||||
m_gdfs_tmap->set_scrolly(0, m_gdfs_tmapscroll[0x10/2]);
|
||||
|
Loading…
Reference in New Issue
Block a user