Fixed Plus 3 Snapshot saving and loading
This commit is contained in:
@@ -18,6 +18,8 @@ namespace Core.Memory
|
||||
private byte _port7FFD = 0;
|
||||
private byte _port1FFD = 0;
|
||||
private bool _pagingDisabled = false;
|
||||
public byte Port7FFD => _port7FFD;
|
||||
public int CurrentRamBankSlot3 => _currentRamBankSlot3;
|
||||
|
||||
public MemoryBus()
|
||||
{
|
||||
@@ -94,6 +96,11 @@ namespace Core.Memory
|
||||
default: return -1; // -1 means it is pointing to a ROM chip!
|
||||
}
|
||||
}
|
||||
public byte[] GetRamBank(int index)
|
||||
{
|
||||
return _ramBanks[index];
|
||||
}
|
||||
|
||||
public byte Read(ushort address)
|
||||
{
|
||||
int slot = address >> 14; // Find the 16KB Slot (0, 1, 2, or 3)
|
||||
|
||||
Reference in New Issue
Block a user