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();
|
||||
_imageOffsets.Dispose();
|
||||
_loadedImages.Dispose();
|
||||
_header.Dispose();
|
||||
base.Dispose();
|
||||
}
|
||||
|
||||
|
|
|
@ -200,12 +200,10 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
|||
_disableRam = true;
|
||||
_writeMode = true;
|
||||
_column = 0;
|
||||
_func_key = false;
|
||||
_shift_key = false;
|
||||
_func_key = false;
|
||||
_shift_key = false;
|
||||
|
||||
base.HardReset();
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override void SyncState(Serializer ser)
|
||||
|
@ -222,8 +220,6 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
|||
base.SyncState(ser);
|
||||
}
|
||||
|
||||
|
||||
|
||||
private byte ReadMem(ushort addr, bool peek)
|
||||
{
|
||||
|
||||
|
@ -295,7 +291,6 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
|||
return ReadMem(addr, false);
|
||||
}
|
||||
|
||||
|
||||
public override byte PeekMemory(ushort addr)
|
||||
{
|
||||
return ReadMem(addr,true);
|
||||
|
|
Loading…
Reference in New Issue