mirror of
https://github.com/tjboldt/Apple2-IO-RPi.git
synced 2024-11-27 20:51:03 +00:00
Set default dir to driveimage (#125)
This commit is contained in:
parent
813ab1caee
commit
554d3390d6
@ -37,6 +37,11 @@ func main() {
|
|||||||
drive1Name, drive2Name := getFlags()
|
drive1Name, drive2Name := getFlags()
|
||||||
drive1, drive2 := getDriveFiles(drive1Name, drive2Name)
|
drive1, drive2 := getDriveFiles(drive1Name, drive2Name)
|
||||||
|
|
||||||
|
driveImageDir, err := drive.GetDriveImageDirectory()
|
||||||
|
if err == nil {
|
||||||
|
os.Chdir(driveImageDir)
|
||||||
|
}
|
||||||
|
|
||||||
fmt.Printf("Starting Apple II RPi v%s...\n", info.Version)
|
fmt.Printf("Starting Apple II RPi v%s...\n", info.Version)
|
||||||
|
|
||||||
comm := a2io.A2Gpio{}
|
comm := a2io.A2Gpio{}
|
||||||
|
Loading…
Reference in New Issue
Block a user