mirror of
https://github.com/badvision/jace.git
synced 2025-02-25 15:29:03 +00:00
Headless mode disables joystick to avoid init issues.
This commit is contained in:
parent
5542bb3425
commit
7edbbd9c8d
@ -28,6 +28,7 @@ import jace.core.Motherboard;
|
||||
import jace.core.RAM;
|
||||
import jace.core.RAMEvent;
|
||||
import jace.core.RAMListener;
|
||||
import jace.core.Utility;
|
||||
import jace.state.Stateful;
|
||||
import jace.core.Video;
|
||||
import jace.hardware.CardDiskII;
|
||||
@ -194,6 +195,12 @@ public class Apple2e extends Computer {
|
||||
public final void reconfigure() {
|
||||
boolean restart = pause();
|
||||
|
||||
if (Utility.isHeadlessMode()) {
|
||||
joy1enabled = false;
|
||||
joy2enabled = false;
|
||||
|
||||
}
|
||||
|
||||
super.reconfigure();
|
||||
|
||||
RAM128k currentMemory = (RAM128k) getMemory();
|
||||
|
Loading…
x
Reference in New Issue
Block a user