Don't reset when config applied, also make sure keyboard shortcuts are properly registered

This commit is contained in:
Brendan Robert 2024-02-25 21:36:16 -06:00
parent 723130c5e0
commit 8bd969ff89
2 changed files with 3 additions and 2 deletions

View File

@ -147,7 +147,6 @@ public abstract class CPU extends Device {
@Override
public void attach() {
reset();
}
abstract public void JSR(int pointer);

View File

@ -36,11 +36,11 @@ public class LawlessComputer extends Apple2e {
public void initLawlessLegendsConfiguration() {
this.cheatEngine.setValue(Cheats.Cheat.LawlessHacks);
reconfigure(); // Required before anything so that memory is initialized
// this.activeCheatEngine = new LawlessHacks(this);
// this.activeCheatEngine.attach();
blankTextPage1();
reconfigure();
Configuration.registerKeyHandlers();
}
private void blankTextPage1() {
@ -85,6 +85,8 @@ public class LawlessComputer extends Apple2e {
try {
performedBootAnimation = true;
waitForVBL();
waitForVBL();
waitForVBL();
renderWithMask(0x00,0x00,0x00,0x00);
renderWithMask(0x08,0x10,0x20,0x40,0x00,0x01,0x02,0x04);
renderWithMask(0x08,0x11,0x22,0x44);