[hatari-devel] Fast-boot option and SCSI |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
Hi,
While doing tos-boot Hatari tests for next EmuTOS release, I noticed a
bug in Hatari.
When using SCSI drive with "--fast-boot on" option, boot drive is A:,
not C:.
Thomas, because there can be multiple drives, and
one doesn't necessarily use drive zero, is this
correct fix, or should something more complicated
be done:
----------------------------------------
--- a/src/floppy.c
+++ b/src/floppy.c
@@ -174,7 +174,7 @@ void Floppy_GetBootDrive(void)
if (!ConfigureParams.HardDisk.bBootFromHardDisk)
return;
- if (ACSI_EMU_ON || ConfigureParams.Ide[0].bUseDevice)
+ if (ACSI_EMU_ON || ConfigureParams.Ide[0].bUseDevice ||
ConfigureParams.Scsi[0].bUseDevice)
{
nBootDrive = 2; /* Drive C */
}
----------------------------------------
?
- Eero