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.
This commit is contained in:
Chris Green 2023-09-22 07:52:32 +10:00 committed by GitHub
parent eb34906fea
commit 8213477062
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
}