Skip to content

Commit bea33b3

Browse files
committed
Fixed floppy code
1 parent 2e9094d commit bea33b3

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# EmuGUI v0.6.2
22

33
- Floppy & CD code for Linux has been added, what I forgot with the 0.5 lineup.
4+
- Altered the floppy code so QEMU doesn't complain anymore.
45

56
# EmuGUI v0.6.1
67

96 Bytes
Binary file not shown.

dialogExecution/startVirtualMachine.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -435,12 +435,11 @@ def start_virtual_machine(self):
435435
qemu_cmd = qemu_cmd + " -win2k-hack"
436436

437437
if fda_file != "":
438-
print(magic.from_file(fda_file))
439438
if platform.system() == "Windows":
440-
qemu_cmd = qemu_cmd + f" -fda \"{fda_file}\""
439+
qemu_cmd = qemu_cmd + f" -drive format=raw,file=\"{fda_file}\",index=0,if=floppy"
441440

442441
else:
443-
qemu_cmd = qemu_cmd + f" -fda {fda_file}"
442+
qemu_cmd = qemu_cmd + f" -drive format=raw,file={fda_file},index=0,if=floppy"
444443

445444
if cdrom_file != "":
446445
if platform.system() == "Windows":

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def __init__(self, parent=None):
3131
self.connectSignalsSlots()
3232
self.timer = QTimer()
3333
self.timer.timeout.connect(self.updateVmList)
34-
self.label_8.setText("EmuGUI v0.6.1")
34+
self.label_8.setText("EmuGUI v0.6.2")
3535
self.setWindowTitle("EmuGUI")
3636

3737
try:
@@ -40,7 +40,7 @@ def __init__(self, parent=None):
4040
except:
4141
pass
4242

43-
self.versionCode = 5015
43+
self.versionCode = 5016
4444

4545
if platform.system() == "Windows":
4646
self.connection = platformSpecific.windowsSpecific.setupWindowsBackend()

0 commit comments

Comments
 (0)