mirror of
https://github.com/badvision/lawless-legends.git
synced 2025-02-24 00:29:12 +00:00
Don't reset when config applied, also make sure keyboard shortcuts are properly registered
This commit is contained in:
parent
723130c5e0
commit
8bd969ff89
@ -147,7 +147,6 @@ public abstract class CPU extends Device {
|
||||
|
||||
@Override
|
||||
public void attach() {
|
||||
reset();
|
||||
}
|
||||
|
||||
abstract public void JSR(int pointer);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user