summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-05-25 22:07:15 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-05-25 22:07:15 +0000
commit238dc3aada9a1526f0af17d1a5114db61c184d13 (patch)
tree07ca21babe9153e57c9ec61ce78c1bd43e52f240
parent62fb5f8f0d5eeef39698ab121ffae32c85d8bb4b (diff)
Removed empty input ports from the empty driver, in favor of a NULL entry.
-rw-r--r--src/emu/driver.h1
-rw-r--r--src/emu/drivers/empty.c13
2 files changed, 2 insertions, 12 deletions
diff --git a/src/emu/driver.h b/src/emu/driver.h
index bd948d3bc09..eb2b6b0f56a 100644
--- a/src/emu/driver.h
+++ b/src/emu/driver.h
@@ -206,6 +206,7 @@ const game_driver driver_##NAME = \
/* this allows to leave the INIT field empty in the GAME() macro call */
#define driver_init_0 0
+#define ipt_0 0
diff --git a/src/emu/drivers/empty.c b/src/emu/drivers/empty.c
index 73e08591115..1356ab4f25d 100644
--- a/src/emu/drivers/empty.c
+++ b/src/emu/drivers/empty.c
@@ -49,17 +49,6 @@ MACHINE_DRIVER_END
/*************************************
*
- * Input ports
- *
- *************************************/
-
-static INPUT_PORTS_START( empty )
-INPUT_PORTS_END
-
-
-
-/*************************************
- *
* ROM definitions
*
*************************************/
@@ -76,4 +65,4 @@ ROM_END
*
*************************************/
-GAME( 2007, empty, 0, empty, empty, 0, ROT0, "MAME", "No Driver Loaded", 0 )
+GAME( 2007, empty, 0, empty, 0, 0, ROT0, "MAME", "No Driver Loaded", 0 )