mirror of
https://github.com/badvision/jace.git
synced 2024-11-27 19:49:32 +00:00
Only apply speed boost on floppy controller if a disk image is present. This prevents over-use of CPU when starting emulator with no disk in the drive.
This commit is contained in:
parent
d95bb82316
commit
afb7e9d117
@ -209,7 +209,7 @@ public class CardDiskII extends Card implements Reconfigurable, MediaConsumerPar
|
||||
}
|
||||
|
||||
private void tweakTiming() {
|
||||
if (drive1.isOn() || drive2.isOn()) {
|
||||
if ((drive1.isOn() && drive1.disk != null) || (drive2.isOn() && drive2.disk != null)) {
|
||||
if (USE_MAX_SPEED) {
|
||||
computer.getMotherboard().requestSpeed(this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user