mirror of
https://github.com/holub/mame
synced 2025-06-03 19:36:26 +03:00
Fix for INP recording ports that have changed notification. Also prevents
new inputs from affecting recorded inputs during playback. [mahlemiut]
This commit is contained in:
parent
f20a2e6b17
commit
7819b1fce7
@ -2084,6 +2084,10 @@ profiler_mark_start(PROFILER_INPUT);
|
|||||||
mess_input_port_update_hook(machine, port, &port->state->digital);
|
mess_input_port_update_hook(machine, port, &port->state->digital);
|
||||||
#endif /* MESS */
|
#endif /* MESS */
|
||||||
|
|
||||||
|
/* handle playback/record */
|
||||||
|
playback_port(port);
|
||||||
|
record_port(port);
|
||||||
|
|
||||||
/* call device line changed handlers */
|
/* call device line changed handlers */
|
||||||
newvalue = input_port_read_direct(port);
|
newvalue = input_port_read_direct(port);
|
||||||
for (device_field = port->state->writedevicelist; device_field; device_field = device_field->next)
|
for (device_field = port->state->writedevicelist; device_field; device_field = device_field->next)
|
||||||
@ -2101,13 +2105,6 @@ profiler_mark_start(PROFILER_INPUT);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* handle playback/record */
|
|
||||||
for (port = machine->portlist.head; port != NULL; port = port->next)
|
|
||||||
{
|
|
||||||
playback_port(port);
|
|
||||||
record_port(port);
|
|
||||||
}
|
|
||||||
|
|
||||||
profiler_mark_end();
|
profiler_mark_end();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user