mirror of
https://github.com/holub/mame
synced 2025-04-26 10:13:37 +03:00
oh yeah, using strcmp on the name is bad
This commit is contained in:
parent
2a901df4cb
commit
ad7eaf9cce
@ -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) );
|
||||
|
Loading…
Reference in New Issue
Block a user