mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-11-04 06:10:19 +00:00
Updated Jace emulator to allow HD images as well as 800kb floppy images
This commit is contained in:
parent
030049b986
commit
19c68edadb
3
OutlawEditor/.gitignore
vendored
3
OutlawEditor/.gitignore
vendored
@ -1 +1,4 @@
|
||||
/*~
|
||||
/nb-configuration.xml
|
||||
/OutlawEditor.iml
|
||||
/.idea/
|
@ -1379,4 +1379,9 @@ public class MOS65C02 extends CPU {
|
||||
default:
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void reconfigure() {
|
||||
// Currently do nothing
|
||||
}
|
||||
}
|
||||
|
@ -152,11 +152,15 @@ public class Speaker extends SoundGeneratorDevice {
|
||||
@Override
|
||||
public boolean suspend() {
|
||||
boolean result = super.suspend();
|
||||
playbackTimer.cancel();
|
||||
if (playbackTimer != null) {
|
||||
playbackTimer.cancel();
|
||||
}
|
||||
speakerBit = false;
|
||||
sdl = null;
|
||||
computer.getMotherboard().cancelSpeedRequest(this);
|
||||
computer.mixer.returnLine(this);
|
||||
if (computer.getMotherboard() != null) {
|
||||
computer.getMotherboard().cancelSpeedRequest(this);
|
||||
computer.mixer.returnLine(this);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
@ -101,7 +101,7 @@ public abstract class Card extends Device {
|
||||
|
||||
@Override
|
||||
public void reconfigure() {
|
||||
super.reconfigure();
|
||||
//super.reconfigure();
|
||||
boolean restart = suspend();
|
||||
unregisterListeners();
|
||||
if (restart) {
|
||||
|
@ -71,7 +71,7 @@ public class LawlessImageTool implements MediaConsumer {
|
||||
|
||||
@Override
|
||||
public boolean isAccepted(MediaEntry e, MediaEntry.MediaFile f) {
|
||||
return e.type == DiskType.FLOPPY800;
|
||||
return e.type == DiskType.FLOPPY800 || e.type == DiskType.LARGE;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user