Dipose of a bytebuffer in a mapper in Atari 2600
This commit is contained in:
parent
45ba9254cb
commit
7a6d2bce41
|
@ -201,6 +201,7 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
||||||
_superChargerImage.Dispose();
|
_superChargerImage.Dispose();
|
||||||
_imageOffsets.Dispose();
|
_imageOffsets.Dispose();
|
||||||
_loadedImages.Dispose();
|
_loadedImages.Dispose();
|
||||||
|
_header.Dispose();
|
||||||
base.Dispose();
|
base.Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -200,12 +200,10 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
||||||
_disableRam = true;
|
_disableRam = true;
|
||||||
_writeMode = true;
|
_writeMode = true;
|
||||||
_column = 0;
|
_column = 0;
|
||||||
_func_key = false;
|
_func_key = false;
|
||||||
_shift_key = false;
|
_shift_key = false;
|
||||||
|
|
||||||
base.HardReset();
|
base.HardReset();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void SyncState(Serializer ser)
|
public override void SyncState(Serializer ser)
|
||||||
|
@ -222,8 +220,6 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
||||||
base.SyncState(ser);
|
base.SyncState(ser);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private byte ReadMem(ushort addr, bool peek)
|
private byte ReadMem(ushort addr, bool peek)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -295,7 +291,6 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
||||||
return ReadMem(addr, false);
|
return ReadMem(addr, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override byte PeekMemory(ushort addr)
|
public override byte PeekMemory(ushort addr)
|
||||||
{
|
{
|
||||||
return ReadMem(addr,true);
|
return ReadMem(addr,true);
|
||||||
|
|
Loading…
Reference in New Issue