diff --git a/LR35902/Bus.cs b/LR35902/Bus.cs index d5db5a3..6301512 100644 --- a/LR35902/Bus.cs +++ b/LR35902/Bus.cs @@ -18,8 +18,8 @@ namespace EightBit public const int RomPageSize = 0x4000; private readonly Rom bootRom = new Rom(0x100); // 0x0000 - 0x00ff - private readonly List gameRomBanks; // 0x0000 - 0x3fff, 0x4000 - 0x7fff (switchable) - private readonly List ramBanks; // 0xa000 - 0xbfff (switchable) + private readonly List gameRomBanks = new List(); // 0x0000 - 0x3fff, 0x4000 - 0x7fff (switchable) + private readonly List ramBanks = new List(); // 0xa000 - 0xbfff (switchable) private readonly UnusedMemory unmapped2000 = new UnusedMemory(0x2000, 0xff); // 0xa000 - 0xbfff private readonly Ram lowInternalRam = new Ram(0x2000); // 0xc000 - 0xdfff (mirrored at 0xe000) private readonly UnusedMemory unmapped60 = new UnusedMemory(0x60, 0xff); // 0xfea0 - 0xfeff