summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-06-12 19:51:49 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-06-12 19:51:49 +0000
commit1855238186f63a2844012cc2460d17e69e0ed8f2 (patch)
treefa93997a0affa755cb5b9550dc00719e2b8beec7
parentaa156019687769f53662df692de5c26538e82f99 (diff)
Undo change 1933 temporarily ... not quite ready to unleash this on the world
with no substantial dev exposure.
-rw-r--r--src/emu/inptport.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/emu/inptport.c b/src/emu/inptport.c
index 064c79bd7c7..d7ba349762d 100644
--- a/src/emu/inptport.c
+++ b/src/emu/inptport.c
@@ -1275,7 +1275,6 @@ input_port_value input_port_read_direct(const input_port_config *port)
input_port_value input_port_read(running_machine *machine, const char *tag)
{
const input_port_config *port = input_port_by_tag(machine->portconfig, tag);
- assert_always(mame_get_phase(machine) != MAME_PHASE_INIT, "Input ports cannot be read at init time!");
if (port == NULL)
fatalerror("Unable to locate input port '%s'", tag);
return input_port_read_direct(port);
@@ -1291,7 +1290,6 @@ input_port_value input_port_read(running_machine *machine, const char *tag)
input_port_value input_port_read_safe(running_machine *machine, const char *tag, UINT32 defvalue)
{
const input_port_config *port = input_port_by_tag(machine->portconfig, tag);
- assert_always(mame_get_phase(machine) != MAME_PHASE_INIT, "Input ports cannot be read at init time!");
return (port == NULL) ? defvalue : input_port_read_direct(port);
}
@@ -1304,7 +1302,6 @@ input_port_value input_port_read_safe(running_machine *machine, const char *tag,
input_port_value input_port_read_indexed(running_machine *machine, int portnum)
{
const input_port_config *port = input_port_by_index(machine->portconfig, portnum);
- assert_always(mame_get_phase(machine) != MAME_PHASE_INIT, "Input ports cannot be read at init time!");
return (port == NULL) ? 0 : input_port_read_direct(port);
}