summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Michaël Banaan Ananas <happppp@users.noreply.github.com>2013-12-23 22:39:37 +0000
committer Michaël Banaan Ananas <happppp@users.noreply.github.com>2013-12-23 22:39:37 +0000
commit20b560a8645eb4692a8e97a8627cd3281886e183 (patch)
tree9dc96cc4fd3fae7f89485eb649a668bd654d532d
parentf4ef11efa003b2290ff3482747bb5b83f7f06e74 (diff)
and added shifter layout
-rw-r--r--.gitattributes1
-rw-r--r--src/mame/drivers/nemesis.c4
-rw-r--r--src/mame/layout/konamigt.lay69
-rw-r--r--src/mame/mame.mak2
4 files changed, 75 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes
index 1184e9ebcb4..bddda641a52 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -5509,6 +5509,7 @@ src/mame/layout/jpmsys5.lay svneol=native#text/plain
src/mame/layout/kas89.lay svneol=native#text/plain
src/mame/layout/kgbird.lay svneol=native#text/plain
src/mame/layout/kingdrby.lay svneol=native#text/plain
+src/mame/layout/konamigt.lay svneol=native#text/plain
src/mame/layout/kungfur.lay svneol=native#text/plain
src/mame/layout/lagunar.lay svneol=native#text/plain
src/mame/layout/lazercmd.lay svneol=native#text/plain
diff --git a/src/mame/drivers/nemesis.c b/src/mame/drivers/nemesis.c
index 77690120953..f5905c186cb 100644
--- a/src/mame/drivers/nemesis.c
+++ b/src/mame/drivers/nemesis.c
@@ -56,6 +56,8 @@ So this is the correct behavior of real hardware, not an emulation bug.
#include "includes/nemesis.h"
#include "includes/konamipt.h"
+#include "konamigt.lh"
+
INTERRUPT_GEN_MEMBER(nemesis_state::nemesis_interrupt)
{
@@ -2327,7 +2329,7 @@ ROM_END
GAME( 1985, nemesis, 0, nemesis, nemesis, driver_device, 0, ROT0, "Konami", "Nemesis (ROM version)", GAME_SUPPORTS_SAVE )
GAME( 1985, nemesisuk, nemesis, nemesis, nemesuk, driver_device, 0, ROT0, "Konami", "Nemesis (World?, ROM version)", GAME_SUPPORTS_SAVE )
-GAME( 1985, konamigt, 0, konamigt, konamigt, driver_device, 0, ROT0, "Konami", "Konami GT", GAME_SUPPORTS_SAVE )
+GAMEL(1985, konamigt, 0, konamigt, konamigt, driver_device, 0, ROT0, "Konami", "Konami GT", GAME_SUPPORTS_SAVE, layout_konamigt )
GAME( 1985, rf2, konamigt, rf2_gx400, rf2, driver_device, 0, ROT0, "Konami", "Konami RF2 - Red Fighter", GAME_SUPPORTS_SAVE )
GAME( 1985, twinbee, 0, gx400, twinbee, driver_device, 0, ROT90, "Konami", "TwinBee (ROM version)", GAME_SUPPORTS_SAVE )
GAME( 1985, gradius, nemesis, gx400, gradius, driver_device, 0, ROT0, "Konami", "Gradius (Japan, ROM version)", GAME_SUPPORTS_SAVE )
diff --git a/src/mame/layout/konamigt.lay b/src/mame/layout/konamigt.lay
new file mode 100644
index 00000000000..af76c363659
--- /dev/null
+++ b/src/mame/layout/konamigt.lay
@@ -0,0 +1,69 @@
+<?xml version="1.0"?>
+<mamelayout version="2">
+ <element name="shifter" defstate="0">
+ <rect>
+ <bounds left="0" right="32" top="0" bottom="64" />
+ <color red="0.85" green="0.4" blue="0.3" />
+ </rect>
+ <rect>
+ <bounds left="2" right="30" top="2" bottom="62" />
+ <color red="0.14" green="0.17" blue="0.2" />
+ </rect>
+ <rect>
+ <bounds left="14" right="18" top="15" bottom="49" />
+ <color red="0.44" green="0.47" blue="0.5" />
+ </rect>
+ <disk>
+ <bounds left="14" right="18" top="13" bottom="17" />
+ <color red="0.44" green="0.47" blue="0.5" />
+ </disk>
+ <disk>
+ <bounds left="14" right="18" top="47" bottom="51" />
+ <color red="0.44" green="0.47" blue="0.5" />
+ </disk>
+ <text string="LOW" state="0">
+ <bounds left="3" right="29" top="2" bottom="12" />
+ <color red="1.0" green="1.0" blue="0.4" />
+ </text>
+ <text string="LOW" state="1">
+ <bounds left="3" right="29" top="2" bottom="12" />
+ <color red="1.0" green="1.0" blue="1.0" />
+ </text>
+
+ <text string="HIGH" state="0">
+ <bounds left="3" right="29" top="52" bottom="62" />
+ <color red="1.0" green="1.0" blue="1.0" />
+ </text>
+ <text string="HIGH" state="1">
+ <bounds left="3" right="29" top="52" bottom="62" />
+ <color red="1.0" green="1.0" blue="0.4" />
+ </text>
+ <disk state="0">
+ <bounds left="9" right="23" top="14" bottom="28" />
+ <color red="0.85" green="0.4" blue="0.3" />
+ </disk>
+ <disk state="1">
+ <bounds left="9" right="23" top="36" bottom="50" />
+ <color red="0.85" green="0.4" blue="0.3" />
+ </disk>
+ </element>
+
+ <view name="Shifter-R">
+ <screen index="0">
+ <bounds x="0" y="0" width="480" height="640" />
+ </screen>
+ <bezel element="shifter" inputtag="IN1" inputmask="0x10">
+ <bounds x="446" y="574" width="32" height="64" />
+ <color alpha="0.6" />
+ </bezel>
+ </view>
+ <view name="Shifter-L">
+ <screen index="0">
+ <bounds x="0" y="0" width="480" height="640" />
+ </screen>
+ <bezel element="shifter" inputtag="IN1" inputmask="0x10">
+ <bounds x="2" y="574" width="32" height="64" />
+ <color alpha="0.6" />
+ </bezel>
+ </view>
+</mamelayout>
diff --git a/src/mame/mame.mak b/src/mame/mame.mak
index 397933cf709..b80b83b4296 100644
--- a/src/mame/mame.mak
+++ b/src/mame/mame.mak
@@ -2534,6 +2534,8 @@ $(DRIVERS)/nbmj8688.o: $(LAYOUT)/nbmj8688.lh
$(DRIVERS)/namcos2.o: $(LAYOUT)/finallap.lh
+$(DRIVERS)/nemesis.o: $(LAYOUT)/konamigt.lh
+
$(DRIVERS)/neogeo.o: $(LAYOUT)/neogeo.lh
$(DRIVERS)/norautp.o: $(LAYOUT)/noraut11.lh \