Skip to content

Commit

Permalink
sms: fix port 3E bug, fix region override
Browse files Browse the repository at this point in the history
  • Loading branch information
Federico Berti committed May 14, 2024
1 parent 7ab2bbd commit 5558638
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/java/omegadrive/bus/z80/SmsBus.java
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ private void handlePort3E(int value) {
if (bEn && !HW_ENABLE_BIOS) {
LOG.warn("HW_ENABLE_BIOS is {}, unable to set biosEn: {}", HW_ENABLE_BIOS, bEn);
}
port3E = value;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/omegadrive/system/BaseSystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ public void run() {
protected RomContext createRomContext(RomSpec rom) {
RomContext rc = new RomContext();
rc.romSpec = rom;
rc.region = getRomRegion();
rc.region = getRegionInternal(emuFrame.getRegionOverride(), getRomRegion());
return rc;
}

Expand Down

0 comments on commit 5558638

Please sign in to comment.