From: Mamesick [mailto:mamesick@libero.it]

Subject: Fixed MAME Testers bug STRAHL0122u6YEL

Hello. Attached diff fixes the bug STRAHL0122u6YEL. Sprites are simply 
allocated in a different memory range from all other nmk16 games.
Regards.
This commit is contained in:
Aaron Giles 2008-01-29 16:44:47 +00:00
parent 4fca4e6535
commit b7c8c89e4e
2 changed files with 15 additions and 1 deletions

View File

@ -233,6 +233,7 @@ VIDEO_UPDATE( tharrier );
VIDEO_UPDATE( hachamf );
VIDEO_UPDATE( tdragon );
VIDEO_EOF( nmk );
VIDEO_EOF( strahl );
/* Variables defined in video: */
@ -4208,7 +4209,7 @@ static MACHINE_DRIVER_START( strahl )
MDRV_PALETTE_LENGTH(1024)
MDRV_VIDEO_START(strahl)
MDRV_VIDEO_EOF(nmk)
MDRV_VIDEO_EOF(strahl)
MDRV_VIDEO_UPDATE(strahl)
/* sound hardware */

View File

@ -854,6 +854,19 @@ VIDEO_EOF( nmk )
memcpy(spriteram_old2,nmk16_mainram+0x8000/2,0x1000);
}
VIDEO_EOF( strahl )
{
/* sprites are DMA'd from Main RAM to a private buffer automatically
(or at least this is how I interpret the datasheet) */
/* -- I actually see little evidence to support this, sprite lag
in some games should be checked on real boards */
/* strahl sprites are allocated in memory range FF000-FFFFF */
memcpy(spriteram_old2,nmk16_mainram+0xF000/2,0x1000);
}
/* Variables needed by drivers: */