mirror of
https://github.com/holub/mame
synced 2025-07-03 09:06:08 +03:00
It is now an actual error to have duplicate input bits.
This commit is contained in:
parent
793cb1e330
commit
a5abe031ca
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user