A2600 - expose CartRam memory domain for mCM and mFA
This commit is contained in:
parent
8f860adf51
commit
db6bbe22bb
|
@ -179,10 +179,6 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
|||
*/
|
||||
internal class mCM : MapperBase
|
||||
{
|
||||
public mCM(Atari2600 core) : base(core)
|
||||
{
|
||||
}
|
||||
|
||||
// TODO: PokeMem
|
||||
private byte[] _ram = new byte[2048];
|
||||
private int _bank4K = 3; // On Start up, controller port is all 1's, so start on the last bank, flags enabled
|
||||
|
@ -192,6 +188,12 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
|||
private bool _funcKey;
|
||||
private bool _shiftKey;
|
||||
|
||||
public mCM(Atari2600 core) : base(core)
|
||||
{
|
||||
}
|
||||
|
||||
public override byte[] CartRam => _ram;
|
||||
|
||||
public override void HardReset()
|
||||
{
|
||||
_ram = new byte[2048];
|
||||
|
|
|
@ -22,6 +22,8 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
|||
{
|
||||
}
|
||||
|
||||
public override byte[] CartRam => _ram;
|
||||
|
||||
public override void SyncState(Serializer ser)
|
||||
{
|
||||
base.SyncState(ser);
|
||||
|
|
Loading…
Reference in New Issue