From 8213477062d7599f3354130ab4cc13295a5d3edc Mon Sep 17 00:00:00 2001 From: Chris Green <24218546+chris-e-green@users.noreply.github.com> Date: Fri, 22 Sep 2023 07:52:32 +1000 Subject: [PATCH] fix disk b index for sequencer drive Disk B for sequencer drive was using index 0 instead of 1, so both -disk and -diskb were setting the first disk. --- apple2Setup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apple2Setup.go b/apple2Setup.go index 4f3d364..6ce714d 100644 --- a/apple2Setup.go +++ b/apple2Setup.go @@ -126,7 +126,7 @@ func (a *Apple2) AddDisk2Sequencer(slot int, diskImage, diskBImage string, track } if diskBImage != "" { - err := c.drive[0].insertDiskette(diskBImage) + err := c.drive[1].insertDiskette(diskBImage) if err != nil { return err }