Previous 15994 Revisions Next

r15305 Thursday 24th May, 2012 at 12:26:25 UTC by Fabio Priuli
nes.c: fixed silly mistake which was preventing proper bankswitch in carts using FK23C and FK23CA pcbs. most games don't work yet, but they finally boot (which is still a progress). no whatsnew.
[src/mess/machine]nes_pcb.c

src/mess/machine/nes_pcb.c
r15304r15305
95569556         prg8_cd(machine, state->m_mmc_reg[4]);
95579557         prg8_ef(machine, state->m_mmc_reg[5]);
95589558      }
9559
9560      mmc3_set_prg(machine, state->m_mmc_prg_base, state->m_mmc_prg_mask);
9559      else
9560         mmc3_set_prg(machine, state->m_mmc_prg_base, state->m_mmc_prg_mask);
95619561   }
95629562}
95639563
r15304r15305
95759575         chr1_x(machine, 1, base | state->m_mmc_reg[6], state->m_mmc_chr_source);
95769576         chr1_x(machine, 3, base | state->m_mmc_reg[7], state->m_mmc_chr_source);
95779577      }
9578
9579      mmc3_set_chr(machine, state->m_mmc_chr_source, state->m_mmc_chr_base, state->m_mmc_chr_mask);
9578      else
9579         mmc3_set_chr(machine, state->m_mmc_chr_source, state->m_mmc_chr_base, state->m_mmc_chr_mask);
95809580   }
95819581}
95829582
r15304r15305
1218412184         state->m_mmc3_chr_cb = kay_pp_chr_cb;
1218512185         break;
1218612186      case BMC_FK23C:
12187      case BMC_FK23CA:
1218712188         state->m_mmc3_prg_cb = fk23c_prg_cb;
1218812189         state->m_mmc3_chr_cb = fk23c_chr_cb;
1218912190         break;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team