From 23a24fbc2c9563a35078bfcffbdf1abb2c1981db Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Fri, 18 Sep 2020 19:30:27 +1000 Subject: [PATCH] videopkr.cpp: Clean up layouts and make layouts clickable for poker and slots games. --- src/mame/drivers/videopkr.cpp | 2 +- src/mame/layout/babypkr.lay | 126 ++++++++++++++++++++-------------- src/mame/layout/videocba.lay | 19 ++--- src/mame/layout/videopkr.lay | 20 +++--- 4 files changed, 98 insertions(+), 69 deletions(-) diff --git a/src/mame/drivers/videopkr.cpp b/src/mame/drivers/videopkr.cpp index c145c3a1cf9..d0de4d55425 100644 --- a/src/mame/drivers/videopkr.cpp +++ b/src/mame/drivers/videopkr.cpp @@ -1104,7 +1104,7 @@ static INPUT_PORTS_START( babypkr ) PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_GAMBLE_BOOK ) PORT_NAME("Books") PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(2) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_START1 ) PORT_NAME("Start") - PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_GAMBLE_D_UP ) PORT_NAME("Double / Discard") PORT_CODE(KEYCODE_3) + PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_GAMBLE_DEAL ) PORT_NAME("Double / Discard") PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_POKER_CANCEL ) PORT_NAME("Cancel / Take") PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_POKER_HOLD1 ) PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_POKER_HOLD2 ) diff --git a/src/mame/layout/babypkr.lay b/src/mame/layout/babypkr.lay index 46fc90f2fe0..c0bde122cc9 100644 --- a/src/mame/layout/babypkr.lay +++ b/src/mame/layout/babypkr.lay @@ -3,91 +3,118 @@ license:CC0 --> - - - + + + - + + + + - - - + + + - + + + + - - - + + + - + + + + - - - + + + - + + + + - - - + + + - + + + + - - - + + + - + + + + - - - + + + - + + + + - - - + + + - + + + + - - - - - + + + + + + + + @@ -111,13 +138,13 @@ license:CC0 - + - + @@ -128,34 +155,34 @@ license:CC0 - + - + - + - + - + - + - + - + - + - + @@ -180,6 +207,5 @@ license:CC0 - diff --git a/src/mame/layout/videocba.lay b/src/mame/layout/videocba.lay index cb0b7f605b9..2d7b4f952b0 100644 --- a/src/mame/layout/videocba.lay +++ b/src/mame/layout/videocba.lay @@ -3,33 +3,36 @@ license:CC0 --> - + - + - + + + + - + - + - + - + - + diff --git a/src/mame/layout/videopkr.lay b/src/mame/layout/videopkr.lay index 23cf182dc45..aeb9e3f9317 100644 --- a/src/mame/layout/videopkr.lay +++ b/src/mame/layout/videopkr.lay @@ -3,7 +3,7 @@ license:CC0 --> - + @@ -16,7 +16,7 @@ license:CC0 - + @@ -29,7 +29,7 @@ license:CC0 - + @@ -42,7 +42,7 @@ license:CC0 - + @@ -55,7 +55,7 @@ license:CC0 - + @@ -68,7 +68,7 @@ license:CC0 - + @@ -81,7 +81,7 @@ license:CC0 - + @@ -94,7 +94,7 @@ license:CC0 - + @@ -138,9 +138,9 @@ license:CC0 - + - +