devices/bus/interpro/sr/gt.cpp, src/mame/machine/interpro_ioga.cpp: initialize some variables to avoid problems in devnoclear build (nw)

This commit is contained in:
Ivan Vangelista 2020-06-04 22:14:21 +02:00
parent 3708071150
commit f49a2f5b8f
2 changed files with 4 additions and 0 deletions

View File

@ -506,6 +506,7 @@ gt_device_base::gt_device_base(const machine_config &mconfig, device_type type,
, m_vram(*this, "vram%u", 0)
, m_mram(*this, "mram%u", 0)
, m_bpu(*this, "bpu%u", 0)
, m_control(0)
, m_double_buffered(double_buffered)
, m_masked_reads(masked_reads)
{

View File

@ -139,6 +139,8 @@ interpro_ioga_device::interpro_ioga_device(const machine_config &mconfig, device
, m_out_irq_vector_func(*this)
, m_fdc_tc_func(*this)
, m_eth_ca_func(*this)
, m_force_state(0)
, m_softint(0)
, m_dma_channel{
{ 0,0,0,0,CLEAR_LINE, {*this}, {*this}, ARBCTL_BGR_PLOT, DMA_PLOTTER, "plotter" },
{ 0,0,0,0,CLEAR_LINE, {*this}, {*this}, ARBCTL_BGR_SCSI, DMA_SCSI, "scsi" },
@ -163,6 +165,7 @@ turquoise_ioga_device::turquoise_ioga_device(const machine_config &mconfig, cons
sapphire_ioga_device::sapphire_ioga_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: interpro_ioga_device(mconfig, SAPPHIRE_IOGA, tag, owner, clock)
{
std::fill(std::begin(m_swicr), std::end(m_swicr), 0);
}
void interpro_ioga_device::device_start()