diff options
author | smf- <smf-@users.noreply.github.com> | 2008-03-30 22:37:06 +0000 |
---|---|---|
committer | smf- <smf-@users.noreply.github.com> | 2008-03-30 22:37:06 +0000 |
commit | 6c238b439529e3ccb13a59164127f1373d9fdafd (patch) | |
tree | fce82e38a35c422a52ff6c5ffa0ad58644415d88 | |
parent | 988ab9a7b0cd6697e0d119b2d0ae191a717cfbaa (diff) |
Fixed state loading now that the digital i/o board's serial number has been changed to a const by not saving it. As the serial number cannot be changed at run time it was rather pointless. I can only imagine I did it so you could hack the state file instead of having to recompile, though it should probably load it from an external file so you can supply your own.
-rw-r--r-- | src/emu/machine/ds2401.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/emu/machine/ds2401.c b/src/emu/machine/ds2401.c index 6430b506d44..a70976405c9 100644 --- a/src/emu/machine/ds2401.c +++ b/src/emu/machine/ds2401.c @@ -161,7 +161,6 @@ void ds2401_init( int which, const UINT8 *data ) state_save_register_item( "ds2401", which, c->shift ); state_save_register_item( "ds2401", which, c->rx ); state_save_register_item( "ds2401", which, c->tx ); - state_save_register_generic( "ds2401", which, "data", (UINT8 *)&data[0], data[0], SIZE_DATA ); c->timer = timer_alloc( ds2401_tick , NULL); c->reset_timer = timer_alloc( ds2401_reset , NULL); |