mirror of
https://github.com/badvision/lawless-legends.git
synced 2025-02-28 12:29:59 +00:00
Fix ZPE on startup
This commit is contained in:
parent
d3cfca29eb
commit
7a03c7ab15
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user