summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/netlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine/netlist.c')
-rw-r--r--src/emu/machine/netlist.c31
1 files changed, 14 insertions, 17 deletions
diff --git a/src/emu/machine/netlist.c b/src/emu/machine/netlist.c
index 8e53717f4d4..328f34f72d6 100644
--- a/src/emu/machine/netlist.c
+++ b/src/emu/machine/netlist.c
@@ -51,12 +51,12 @@
// DEBUGGING
//============================================================
-#define VERBOSE (0)
-#define KEEP_STATISTICS (0)
+#define VERBOSE (0)
+#define KEEP_STATISTICS (0)
#if (VERBOSE)
-#define VERBOSE_OUT(x) printf x
+#define VERBOSE_OUT(x) printf x
#else
#define VERBOSE_OUT(x)
#endif
@@ -66,15 +66,15 @@
//============================================================
#if KEEP_STATISTICS
-#define add_to_stat(v,x) do { v += (x); } while (0)
-#define inc_stat(v) add_to_stat(v, 1)
-#define begin_timing(v) do { (v) -= get_profile_ticks(); } while (0)
-#define end_timing(v) do { (v) += get_profile_ticks(); } while (0)
+#define add_to_stat(v,x) do { v += (x); } while (0)
+#define inc_stat(v) add_to_stat(v, 1)
+#define begin_timing(v) do { (v) -= get_profile_ticks(); } while (0)
+#define end_timing(v) do { (v) += get_profile_ticks(); } while (0)
#else
-#define add_to_stat(v,x) do { } while (0)
-#define inc_stat(v) add_to_stat(v, 1)
-#define begin_timing(v) do { } while (0)
-#define end_timing(v) do { } while (0)
+#define add_to_stat(v,x) do { } while (0)
+#define inc_stat(v) add_to_stat(v, 1)
+#define begin_timing(v) do { } while (0)
+#define end_timing(v) do { } while (0)
#endif
@@ -884,7 +884,7 @@ const device_type NETLIST = &device_creator<netlist_mame_device>;
netlist_mame_device::netlist_mame_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NETLIST, "netlist", tag, owner, clock),
- device_execute_interface(mconfig, *this)
+ device_execute_interface(mconfig, *this)
{
}
@@ -903,7 +903,7 @@ void netlist_mame_device::device_start()
//double dt = clocks_to_attotime(1).as_double();
m_netlist = global_alloc_clear(netlist_t(*this));
- m_netlist->set_clock_freq(this->clock());
+ m_netlist->set_clock_freq(this->clock());
m_setup = global_alloc_clear(netlist_setup_t(*m_netlist));
@@ -916,7 +916,7 @@ void netlist_mame_device::device_start()
if (!allok)
fatalerror("required elements not found\n");
- m_setup->resolve_inputs();
+ m_setup->resolve_inputs();
//save_item(NAME(m_clockcnt));
save_state();
@@ -981,6 +981,3 @@ ATTR_HOT void netlist_mame_device::execute_run()
m_netlist->process_list(m_icount);
}
-
-
-