mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-07-02 10:29:36 +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();
|
LawlessImageTool gameDiskHandler = new LawlessImageTool();
|
||||||
@ConfigurableField(name = "Boot Animation")
|
@ConfigurableField(name = "Boot Animation")
|
||||||
public boolean showBootAnimation = true;
|
public boolean showBootAnimation = true;
|
||||||
|
|
||||||
public LawlessComputer() {
|
public LawlessComputer() {
|
||||||
super();
|
super();
|
||||||
|
this.cheatEngine.setValue(LawlessHacks.class);
|
||||||
|
this.activeCheatEngine = new LawlessHacks(this);
|
||||||
|
this.activeCheatEngine.attach();
|
||||||
blankTextPage1();
|
blankTextPage1();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void blankTextPage1() {
|
private void blankTextPage1() {
|
||||||
// Fill text page 1 with spaces
|
// Fill text page 1 with spaces
|
||||||
for (int i = 0x0400; i < 0x07FF; i++) {
|
for (int i = 0x0400; i < 0x07FF; i++) {
|
||||||
getMemory().write(i, (byte) (0x080 | ' '), false, false);
|
getMemory().write(i, (byte) (0x080 | ' '), false, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void coldStart() {
|
public void coldStart() {
|
||||||
pause();
|
pause();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user