mirror of
https://github.com/holub/mame
synced 2025-04-24 17:30:55 +03:00
Temporarily remove floating-point state registration (nw)
This commit is contained in:
parent
8af83f90fa
commit
f2dac42df3
@ -150,6 +150,7 @@ void clipper_device::device_start()
|
||||
state_add(CLIPPER_R14, "r14", m_r[14]);
|
||||
state_add(CLIPPER_R15, "r15", m_r[15]);
|
||||
|
||||
#ifdef STATE_REGISTER_DOUBLE
|
||||
state_add(CLIPPER_F0, "f0", m_f[0]);
|
||||
state_add(CLIPPER_F1, "f1", m_f[1]);
|
||||
state_add(CLIPPER_F2, "f2", m_f[2]);
|
||||
@ -171,6 +172,7 @@ void clipper_device::device_start()
|
||||
state_add(CLIPPER_F14, "f14", m_f[14]);
|
||||
state_add(CLIPPER_F15, "f15", m_f[15]);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void clipper_device::device_reset()
|
||||
|
@ -212,10 +212,12 @@ void dsp32c_device::device_start()
|
||||
state_add(DSP32_PIN, "PIN", m_pin).mask(0xffffff);
|
||||
state_add(DSP32_POUT, "POUT", m_pout).mask(0xffffff);
|
||||
state_add(DSP32_IVTP, "IVTP", m_ivtp).mask(0xffffff);
|
||||
#ifdef STATE_REGISTER_DOUBLE
|
||||
state_add(DSP32_A0, "A0", m_a[0]).formatstr("%8s");
|
||||
state_add(DSP32_A1, "A1", m_a[1]).formatstr("%8s");
|
||||
state_add(DSP32_A2, "A2", m_a[2]).formatstr("%8s");
|
||||
state_add(DSP32_A3, "A3", m_a[3]).formatstr("%8s");
|
||||
#endif
|
||||
state_add(DSP32_DAUC, "DAUC", m_r[26]).mask(0xff);
|
||||
state_add(DSP32_PAR, "PAR", m_par);
|
||||
state_add(DSP32_PDR, "PDR", m_pdr);
|
||||
|
@ -849,6 +849,7 @@ void ppc_device::device_start()
|
||||
state_add(PPC_R30, "R30", m_core->r[30]).formatstr("%08X");
|
||||
state_add(PPC_R31, "R31", m_core->r[31]).formatstr("%08X");
|
||||
|
||||
#ifdef STATE_REGISTER_DOUBLE
|
||||
state_add(PPC_F0, "F0", m_core->f[0]).formatstr("%12s");
|
||||
state_add(PPC_F1, "F1", m_core->f[1]).formatstr("%12s");
|
||||
state_add(PPC_F2, "F2", m_core->f[2]).formatstr("%12s");
|
||||
@ -881,6 +882,7 @@ void ppc_device::device_start()
|
||||
state_add(PPC_F29, "F29", m_core->f[29]).formatstr("%12s");
|
||||
state_add(PPC_F30, "F30", m_core->f[30]).formatstr("%12s");
|
||||
state_add(PPC_F31, "F31", m_core->f[31]).formatstr("%12s");
|
||||
#endif
|
||||
state_add(PPC_FPSCR, "FPSCR", m_core->fpscr).formatstr("%08X");
|
||||
|
||||
state_add(STATE_GENPC, "GENPC", m_core->pc).noshow();
|
||||
|
@ -1021,7 +1021,10 @@ void netlist_mame_cpu_device::device_start()
|
||||
}
|
||||
else
|
||||
{
|
||||
#ifdef STATE_REGISTER_DOUBLE
|
||||
// This attempts to register state variables of type nl_double (double), which is currently not supported
|
||||
state_add(i*2+1, n->name().c_str(), *downcast<netlist::analog_net_t *>(n)->Q_Analog_state_ptr()).formatstr("%20s");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -127,6 +127,7 @@ public:
|
||||
: device_state_entry(index, symbol, sizeof(ItemType), std::numeric_limits<ItemType>::max(), dev),
|
||||
m_data(data)
|
||||
{
|
||||
static_assert(std::is_integral<ItemType>().value, "Registration of non-integer types is not currently supported");
|
||||
}
|
||||
|
||||
protected:
|
||||
|
Loading…
Reference in New Issue
Block a user