From 311669e24d8dce7a55523f1c5b3dac4d07d15cc6 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Thu, 13 Mar 2008 15:29:29 +0000 Subject: [PATCH] From Mr. Do! mame/drivers/qix.c: +mame/layout/elecyoyo.lay: Add Mr. Do's layout to crop corners in Electric Yo-Yo. --- .gitattributes | 1 + src/mame/drivers/qix.c | 7 +++++-- src/mame/layout/elecyoyo.lay | 24 ++++++++++++++++++++++++ src/mame/mame.mak | 2 ++ 4 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 src/mame/layout/elecyoyo.lay diff --git a/.gitattributes b/.gitattributes index f0463f70928..a5c7a0cb30b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2345,6 +2345,7 @@ src/mame/layout/crusnexo.lay svneol=native#text/plain src/mame/layout/darius.lay svneol=native#text/plain src/mame/layout/deadeye.lay svneol=native#text/plain src/mame/layout/dlair.lay svneol=native#text/plain +src/mame/layout/elecyoyo.lay svneol=native#text/plain src/mame/layout/firebeat.lay svneol=native#text/plain src/mame/layout/funworld.lay svneol=native#text/plain src/mame/layout/geebee.lay svneol=native#text/plain diff --git a/src/mame/drivers/qix.c b/src/mame/drivers/qix.c index df53201265e..18f7e97541a 100644 --- a/src/mame/drivers/qix.c +++ b/src/mame/drivers/qix.c @@ -222,9 +222,12 @@ Interrupts: ***************************************************************************/ #include "driver.h" +#include "rendlay.h" #include "machine/6821pia.h" #include "qix.h" +#include "elecyoyo.lh" + /************************************* @@ -1115,8 +1118,8 @@ GAME( 1981, qixa, qix, qix, qix, 0, ROT270, "Taito Amer GAME( 1981, qixb, qix, qix, qix, 0, ROT270, "Taito America Corporation", "Qix (set 3)", GAME_SUPPORTS_SAVE ) GAME( 1981, qix2, qix, qix, qix, 0, ROT270, "Taito America Corporation", "Qix II (Tournament)", GAME_SUPPORTS_SAVE ) GAME( 1981, sdungeon, 0, mcu, sdungeon, 0, ROT270, "Taito America Corporation", "Space Dungeon", GAME_SUPPORTS_SAVE ) -GAME( 1982, elecyoyo, 0, mcu, elecyoyo, 0, ROT270, "Taito America Corporation", "The Electric Yo-Yo (set 1)", GAME_SUPPORTS_SAVE ) -GAME( 1982, elecyoy2, elecyoyo, mcu, elecyoyo, 0, ROT270, "Taito America Corporation", "The Electric Yo-Yo (set 2)", GAME_SUPPORTS_SAVE ) +GAMEL(1982, elecyoyo, 0, mcu, elecyoyo, 0, ROT270, "Taito America Corporation", "The Electric Yo-Yo (set 1)", GAME_SUPPORTS_SAVE, layout_elecyoyo ) +GAMEL(1982, elecyoy2, elecyoyo, mcu, elecyoyo, 0, ROT270, "Taito America Corporation", "The Electric Yo-Yo (set 2)", GAME_SUPPORTS_SAVE, layout_elecyoyo ) GAME( 1982, kram, 0, mcu, kram, 0, ROT0, "Taito America Corporation", "Kram (set 1)", GAME_SUPPORTS_SAVE ) GAME( 1982, kram2, kram, mcu, kram, 0, ROT0, "Taito America Corporation", "Kram (set 2)", GAME_SUPPORTS_SAVE ) GAME( 1982, kram3, kram, qix, kram, kram3, ROT0, "Taito America Corporation", "Kram (encrypted)", GAME_SUPPORTS_SAVE ) diff --git a/src/mame/layout/elecyoyo.lay b/src/mame/layout/elecyoyo.lay new file mode 100644 index 00000000000..069647c8f8a --- /dev/null +++ b/src/mame/layout/elecyoyo.lay @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/mame/mame.mak b/src/mame/mame.mak index 86321bdc377..b55b402db88 100644 --- a/src/mame/mame.mak +++ b/src/mame/mame.mak @@ -1711,6 +1711,8 @@ $(DRIVERS)/pmpoker.o: $(LAYOUT)/pmpoker.lh \ $(LAYOUT)/goldnpkr.lh \ $(LAYOUT)/pottnpkr.lh +$(DRIVERS)/qix.o: $(LAYOUT)/elecyoyo.lh + $(DRIVERS)/sbrkout.o: $(LAYOUT)/sbrkout.lh $(DRIVERS)/sspeedr.o: $(LAYOUT)/sspeedr.lh