fix disk b index for sequencer drive (#21)

Disk B for sequencer drive was using index 0 instead of 1, so both -disk and -diskb were setting the first disk.
This commit is contained in:
Chris Green 2023-09-22 17:00:37 +10:00 committed by GitHub
parent eb34906fea
commit 996772a023
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
}