xmultipl: fixed tilemaps offsets [Roberto Zandona']

This commit is contained in:
Roberto Zandona 2011-10-30 21:41:20 +00:00
parent a4aea788c9
commit f2374a2906
3 changed files with 11 additions and 6 deletions

View File

@ -1971,7 +1971,7 @@ static MACHINE_CONFIG_START( xmultipl, m72_state )
MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
MCFG_SCREEN_UPDATE(m72)
MCFG_VIDEO_START(m72)
MCFG_VIDEO_START(xmultipl)
/* sound hardware */
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")

View File

@ -48,6 +48,7 @@ VIDEO_START( rtype2 );
VIDEO_START( majtitle );
VIDEO_START( hharry );
VIDEO_START( poundfor );
VIDEO_START( xmultipl );
READ16_HANDLER( m72_palette1_r );
READ16_HANDLER( m72_palette2_r );

View File

@ -2,11 +2,6 @@
#include "audio/m72.h"
#include "includes/m72.h"
/***************************************************************************
Callbacks for the TileMap code
@ -147,6 +142,15 @@ VIDEO_START( m72 )
register_savestate(machine);
}
VIDEO_START( xmultipl )
{
m72_state *state = machine.driver_data<m72_state>();
VIDEO_START_CALL(m72);
tilemap_set_scrolldx(state->m_fg_tilemap,4,0);
tilemap_set_scrolldx(state->m_bg_tilemap,6,0);
}
VIDEO_START( rtype2 )
{
m72_state *state = machine.driver_data<m72_state>();