mirror of
https://github.com/holub/mame
synced 2025-04-27 18:53:05 +03:00
devices/bus/hp_hil/hlemouse, devices/machine/arm_iomd, mame/machine/mct_adr: initialize some variables that were causing problems in debug devnoclear builds
This commit is contained in:
parent
9eb34bea94
commit
a80557b412
@ -41,6 +41,8 @@ hle_hp_46060b_device::hle_hp_46060b_device(machine_config const &mconfig, char c
|
||||
void hle_hp_46060b_device::device_reset()
|
||||
{
|
||||
m_fifo.clear();
|
||||
|
||||
mouse_x_delta = mouse_y_delta = 0;
|
||||
}
|
||||
|
||||
int hle_hp_46060b_device::hil_poll()
|
||||
|
@ -308,7 +308,10 @@ void arm_iomd_device::device_reset()
|
||||
|
||||
m_sound_dma_on = false;
|
||||
for (i=0; i<sounddma_ch_size; i++)
|
||||
{
|
||||
m_sndbuffer_ok[i] = false;
|
||||
m_sndcur_reg[i] = 0;
|
||||
}
|
||||
|
||||
// ...
|
||||
}
|
||||
|
@ -177,6 +177,9 @@ void mct_adr_device::device_reset()
|
||||
m_memory_refresh_rate = 0x18186;
|
||||
m_nvram_protect = 0x7;
|
||||
|
||||
m_dma_invalid_address = 0;
|
||||
m_dma_memory_failed_address = 0;
|
||||
|
||||
m_isr = 0;
|
||||
m_imr = 0x10; // firmware diagnostic expects network interrupts to be unmasked at boot
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user