lib/src/nes_mapper_mmc3.cpp
//
// Called when mapper is loaded into memory
// Useful when all you need is a one-time memcpy
//
Called when mapper is loaded into memory
Useful when all you need is a one-time memcpy
Called when mapper is loaded into memory Useful when all you need is a one - time memcpy
void nes_mapper_mmc3::on_load_ram(nes_memory &mem)
{
    mem.set_bytes(0xe000, _prg_rom->data() + _prg_rom->size() - 0x2000, 0x2000);
    _mem = &mem;
}
void nes_mapper_mmc3 :: on_load_ram ( nes_memory & mem ) { mem . set_bytes ( 0xe000 , _prg_rom -> data ( ) + _prg_rom -> size ( ) - 0x2000 , 0x2000 ) ; _mem = & mem ; }
Called when mapper is loaded into memory
Useful when all you need is a one-time memcpy
Called when mapper is loaded into memory Useful when all you need is a one - time memcpy
// $E000~$FFFF is always the last bank