mirror of
https://github.com/holub/mame
synced 2025-06-30 07:58:56 +03:00
fixed usage of uninitialized member in nes_waixing_j_device (nw)
This commit is contained in:
parent
6621c1dd72
commit
f072a9e114
@ -232,12 +232,12 @@ void nes_waixing_j_device::device_start()
|
|||||||
void nes_waixing_j_device::pcb_reset()
|
void nes_waixing_j_device::pcb_reset()
|
||||||
{
|
{
|
||||||
m_chr_source = m_vrom_chunks ? CHRROM : CHRRAM;
|
m_chr_source = m_vrom_chunks ? CHRROM : CHRRAM;
|
||||||
mmc3_common_initialize(0xff, 0xff, 0);
|
|
||||||
|
|
||||||
m_reg[0] = 0x01;
|
m_reg[0] = 0x01;
|
||||||
m_reg[1] = 0x02;
|
m_reg[1] = 0x02;
|
||||||
m_reg[2] = 0x7e;
|
m_reg[2] = 0x7e;
|
||||||
m_reg[3] = 0x7f;
|
m_reg[3] = 0x7f;
|
||||||
|
mmc3_common_initialize(0xff, 0xff, 0);
|
||||||
set_prg(m_prg_base, m_prg_mask);
|
set_prg(m_prg_base, m_prg_mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user