mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-09-28 20:54:46 +00:00
Merge branch 'master' of github.com:badvision/lawless-legends
This commit is contained in:
commit
9b130326df
@ -72,7 +72,7 @@ public class CardRamworks extends RAM128k {
|
|||||||
|
|
||||||
private PagedMemory getAuxBank(BankType type, int bank) {
|
private PagedMemory getAuxBank(BankType type, int bank) {
|
||||||
if (bank >= maxBank) {
|
if (bank >= maxBank) {
|
||||||
return nullBank.get(type);
|
return nullBank == null ? null : nullBank.get(type);
|
||||||
}
|
}
|
||||||
Map<BankType, PagedMemory> memoryBank = memory.get(bank);
|
Map<BankType, PagedMemory> memoryBank = memory.get(bank);
|
||||||
if (memoryBank == null) {
|
if (memoryBank == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user