summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/qix.c
diff options
context:
space:
mode:
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
commit23889862951a091e00f409157bdf6e5e8e239193 (patch)
tree11a6c4f998495ddeb87d19ba61330e49d065e6ab /src/mame/video/qix.c
parent79c1e7b9461b597d52bd62c59fa3834d92666423 (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/qix.c')
-rw-r--r--src/mame/video/qix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/qix.c b/src/mame/video/qix.c
index 9c099113612..e5aaab92173 100644
--- a/src/mame/video/qix.c
+++ b/src/mame/video/qix.c
@@ -427,7 +427,7 @@ ADDRESS_MAP_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 */
begin_update, /* before pixel update callback */
update_row, /* row update callback */
@@ -454,7 +454,7 @@ MACHINE_DRIVER_START( qix_video )
MDRV_MC6845_ADD(MC6845_TAG, MC6845, QIX_CHARACTER_CLOCK, mc6845_intf)
- MDRV_SCREEN_ADD("main", RASTER)
+ MDRV_SCREEN_ADD("screen", RASTER)
MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
MDRV_SCREEN_RAW_PARAMS(QIX_CHARACTER_CLOCK*8, 256, 0, 256, 256, 0, 256) /* temporary, CRTC will configure screen */
MACHINE_DRIVER_END