Skip to content

Commit

Permalink
fix disk b index for sequencer drive (#21)
Browse files Browse the repository at this point in the history
Disk B for sequencer drive was using index 0 instead of 1, so both -disk and -diskb were setting the first disk.
  • Loading branch information
chris-e-green authored Sep 22, 2023
1 parent eb34906 commit 996772a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apple2Setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 996772a

Please sign in to comment.