diff options
author | Aaron Giles <aaron@aarongiles.com> | 2009-02-25 06:28:42 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2009-02-25 06:28:42 +0000 |
commit | 23889862951a091e00f409157bdf6e5e8e239193 (patch) | |
tree | 11a6c4f998495ddeb87d19ba61330e49d065e6ab /src/mame/video/madalien.c | |
parent | 79c1e7b9461b597d52bd62c59fa3834d92666423 (diff) |
Device tag renaming. Moving away from generic names like "main"
to names that capture the device type as well. Added validity
checks for the short-term to prevent the continuance of this
pattern (which I started :)
Changes:
CPU/"main" -> "maincpu"
CPU/"audio" -> "audiocpu"
CPU/"sound" -> "soundcpu"
SCREEN/main -> "screen" (since it's the only one)
Eventually, devices will be required to have unique tags within
a machine, regardless of type.
Diffstat (limited to 'src/mame/video/madalien.c')
-rw-r--r-- | src/mame/video/madalien.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/madalien.c b/src/mame/video/madalien.c index 159a04b08dc..8e5b87522b5 100644 --- a/src/mame/video/madalien.c +++ b/src/mame/video/madalien.c @@ -387,7 +387,7 @@ GFXDECODE_END static const mc6845_interface mc6845_intf = { - "main", /* screen we are acting on */ + "screen", /* screen we are acting on */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ @@ -399,7 +399,7 @@ static const mc6845_interface mc6845_intf = MACHINE_DRIVER_START( madalien_video ) - MDRV_SCREEN_ADD("main", RASTER) + MDRV_SCREEN_ADD("screen", RASTER) MDRV_SCREEN_RAW_PARAMS(PIXEL_CLOCK, 336, 0, 256, 288, 0, 256) MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |