mirror of
https://github.com/holub/mame
synced 2025-04-27 18:53:05 +03:00
01905: Many Sets: Fatal Error crash - Fatal error: Input ports cannot be read at init time! (src/emu/inptport.c:1278)
Removed call to discrete_reset() in the initialization code. It is already called by the sound system during reset, at which point it is safe to read input ports.
This commit is contained in:
parent
02ad5125b1
commit
3245688ccf
@ -358,9 +358,6 @@ static void *discrete_start(int sndindex, int clock, const void *config)
|
|||||||
setup_output_nodes(info);
|
setup_output_nodes(info);
|
||||||
|
|
||||||
setup_disc_logs(info);
|
setup_disc_logs(info);
|
||||||
|
|
||||||
/* reset the system, which in turn resets all the nodes and steps them forward one */
|
|
||||||
discrete_reset(info);
|
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user