fixed usage of uninitialized member in nes_bmc_gc6in1_device (nw)

This commit is contained in:
Oliver Stöneberg 2014-05-17 20:01:03 +00:00
parent a096aa7bb5
commit 6621c1dd72

View File

@ -559,11 +559,11 @@ void nes_bmc_gc6in1_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] = 0x00; m_reg[0] = 0x00;
m_reg[1] = 0xff; m_reg[1] = 0xff;
m_reg[2] = 0x03; m_reg[2] = 0x03;
m_reg[3] = 0; m_reg[3] = 0;
mmc3_common_initialize(0xff, 0xff, 0);
set_prg(m_prg_base, m_prg_mask); set_prg(m_prg_base, m_prg_mask);
set_chr(m_chr_source, m_chr_base, m_chr_mask); set_chr(m_chr_source, m_chr_base, m_chr_mask);
} }