]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Fix foreign disk image support when drive is standard Amiga 3.5" DD
authorToni Wilen <twilen@winuae.net>
Thu, 13 Apr 2023 17:32:44 +0000 (20:32 +0300)
committerToni Wilen <twilen@winuae.net>
Thu, 13 Apr 2023 17:32:44 +0000 (20:32 +0300)
disk.cpp

index 735784cf0f510d124424c620be8daac76d5eb0e3..8a13d5f687d2f15ae2cfd6aa68a240c910036318 100644 (file)
--- a/disk.cpp
+++ b/disk.cpp
@@ -1568,8 +1568,8 @@ static int drive_insert (drive *drv, struct uae_prefs *p, int dnum, const TCHAR
                drv->ddhd = 1;
                sd = 0;
 
-               bool can40 = dfxtype == DRV_525_DD || dfxtype == DRV_PC_525_ONLY_40 || dfxtype == DRV_PC_525_40_80;
-               bool can80 = dfxtype == DRV_35_HD || dfxtype == DRV_PC_35_ONLY_80 || dfxtype == DRV_PC_525_40_80;
+               bool can40 = dfxtype == DRV_525_DD || dfxtype == DRV_525_SD || dfxtype == DRV_PC_525_ONLY_40 || dfxtype == DRV_PC_525_40_80;
+               bool can80 = dfxtype == DRV_35_DD || dfxtype == DRV_35_DD_ESCOM  || dfxtype == DRV_35_HD || dfxtype == DRV_PC_35_ONLY_80 || dfxtype == DRV_PC_525_40_80;
                bool drv525 = dfxtype == DRV_525_DD || dfxtype == DRV_PC_525_ONLY_40 || dfxtype == DRV_PC_525_40_80;
 
                for (side = 2; side > 0; side--) {