oh yeah, using strcmp on the name is bad

This commit is contained in:
smf- 2011-04-28 14:26:33 +00:00
parent 2a901df4cb
commit ad7eaf9cce

View File

@ -982,7 +982,7 @@ static DRIVER_INIT( namcos11 )
n_game++;
}
if( strcmp( machine.system().name, "ptblank2a" ) == 0 )
if( strcmp( machine.system().name, "ptblank2ua" ) == 0 )
{
machine.device("maincpu")->memory().space(AS_PROGRAM)->install_legacy_write_handler(0x1f788000, 0x1f788003, FUNC(lightgun_w) );
machine.device("maincpu")->memory().space(AS_PROGRAM)->install_legacy_read_handler (0x1f780000, 0x1f78000f, FUNC(lightgun_r) );