mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-10-01 09:56:05 +00:00
Force lawless cheat module to load on start, fixes text color "glitch"
This commit is contained in:
parent
9e93360d11
commit
a81852294b
@ -28,19 +28,22 @@ public class LawlessComputer extends Apple2e {
|
||||
LawlessImageTool gameDiskHandler = new LawlessImageTool();
|
||||
@ConfigurableField(name = "Boot Animation")
|
||||
public boolean showBootAnimation = true;
|
||||
|
||||
|
||||
public LawlessComputer() {
|
||||
super();
|
||||
this.cheatEngine.setValue(LawlessHacks.class);
|
||||
this.activeCheatEngine = new LawlessHacks(this);
|
||||
this.activeCheatEngine.attach();
|
||||
blankTextPage1();
|
||||
}
|
||||
|
||||
|
||||
private void blankTextPage1() {
|
||||
// Fill text page 1 with spaces
|
||||
for (int i = 0x0400; i < 0x07FF; i++) {
|
||||
getMemory().write(i, (byte) (0x080 | ' '), false, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void coldStart() {
|
||||
pause();
|
||||
|
Loading…
Reference in New Issue
Block a user