From a5abe031ca2daa3f090de6acb5750cd2dacbae33 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Thu, 5 Jun 2008 09:36:23 +0000 Subject: [PATCH] It is now an actual error to have duplicate input bits. --- src/emu/validity.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/emu/validity.c b/src/emu/validity.c index b0141747d1d..58e2c8daf8a 100644 --- a/src/emu/validity.c +++ b/src/emu/validity.c @@ -1211,7 +1211,10 @@ static int validate_inputs(int drivnum, const machine_config *config) /* allocate the input ports */ portlist = input_port_config_alloc(driver->ipt, errorbuf, sizeof(errorbuf)); if (errorbuf[0] != 0) + { mame_printf_error("%s: %s has input port errors:\n%s\n", driver->source_file, driver->name, errorbuf); + error = TRUE; + } /* check for duplicate tags */ for (port = portlist; port != NULL; port = port->next)