mirror of
https://github.com/irmen/prog8.git
synced 2025-01-13 10:29:52 +00:00
removed the rom path argument for launching the x16emu which made it fail on a non-Linux system
This commit is contained in:
parent
e0315bffdc
commit
59f33658ad
@ -38,8 +38,7 @@ internal object CX16MachineDefinition: IMachineDefinition {
|
|||||||
override fun launchEmulator(programName: String) {
|
override fun launchEmulator(programName: String) {
|
||||||
for(emulator in listOf("x16emu")) {
|
for(emulator in listOf("x16emu")) {
|
||||||
println("\nStarting Commander X16 emulator $emulator...")
|
println("\nStarting Commander X16 emulator $emulator...")
|
||||||
val cmdline = listOf(emulator, "-rom", "/usr/share/x16-rom/rom.bin", "-scale", "2",
|
val cmdline = listOf(emulator, "-scale", "2", "-run", "-prg", "$programName.prg")
|
||||||
"-run", "-prg", programName + ".prg")
|
|
||||||
val processb = ProcessBuilder(cmdline).inheritIO()
|
val processb = ProcessBuilder(cmdline).inheritIO()
|
||||||
val process: Process
|
val process: Process
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user