mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-06-27 07:29:32 +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…
Reference in New Issue
Block a user