mirror of
https://github.com/holub/mame
synced 2025-06-05 20:33:45 +03:00
netlist: Disable dangerous optimization.
* This was an over-aggressive optimization. Now prints an info and recommends to comment out if appropriate.
This commit is contained in:
parent
d876f4cd82
commit
15172f15ca
@ -111,7 +111,7 @@ namespace netlist
|
||||
"but has been forced to act as a logic output. Parameter "
|
||||
" FORCE_TRISTATE_LOGIC for device {2} needs to be disabled!.")
|
||||
|
||||
PERRMSGV(MI_REMOVE_DEVICE_1_CONNECTED_ONLY_TO_RAILS_2_3, 3, "Found device {1} connected only to railterminals {2}/{3}. Will be removed")
|
||||
PERRMSGV(MI_REMOVE_DEVICE_1_CONNECTED_ONLY_TO_RAILS_2_3, 3, "Found device {1} connected only to railterminals {2}/{3}. Please consider commenting those out.")
|
||||
|
||||
PERRMSGV(MW_DATA_1_NOT_FOUND, 1, "unable to find data {1} in sources collection")
|
||||
|
||||
|
@ -1593,9 +1593,12 @@ void setup_t::prepare_to_run()
|
||||
{
|
||||
log().info(MI_REMOVE_DEVICE_1_CONNECTED_ONLY_TO_RAILS_2_3(
|
||||
t->name(), t->N().net().name(), t->P().net().name()));
|
||||
// The following would remove internal devices in e.g. MOSFETs as well.
|
||||
#if 0
|
||||
remove_terminal(t->setup_N().net(), t->setup_N());
|
||||
remove_terminal(t->setup_P().net(), t->setup_P());
|
||||
m_nlstate.remove_device(t);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user