Remove Drives global struct in favor of independent global variables.
[seabios.git] / src / disk.c
index 56c369ae2112c3302250922254a3a8af9753732f..f7bfe9c523ef16104c65c1fc4a5902e25778c3c7 100644 (file)
@@ -235,7 +235,7 @@ disk_1308(struct bregs *regs, struct drive_s *drive_g)
     u8 count;
     if (regs->dl < EXTSTART_HD) {
         // Floppy
-        count = GET_GLOBAL(Drives.floppycount);
+        count = GET_GLOBAL(FloppyCount);
 
         if (CONFIG_CDROM_EMU
             && drive_g == GLOBALFLAT2GLOBAL(GET_GLOBAL(cdemu_drive_gf)))