Merge branch 'master' of github.com:badvision/lawless-legends

This commit is contained in:
Martin Haye 2020-06-20 16:10:31 -07:00
commit 9b130326df

View File

@ -72,7 +72,7 @@ public class CardRamworks extends RAM128k {
private PagedMemory getAuxBank(BankType type, int bank) {
if (bank >= maxBank) {
return nullBank.get(type);
return nullBank == null ? null : nullBank.get(type);
}
Map<BankType, PagedMemory> memoryBank = memory.get(bank);
if (memoryBank == null) {