aboutsummaryrefslogtreecommitdiff
path: root/src/disk.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2010-12-29 11:05:46 -0500
committerKevin O'Connor <kevin@koconnor.net>2010-12-29 13:26:26 -0500
commita0842f8d49c7f02cecd029a0023a97253a7a8b06 (patch)
tree128031130ff5b5e3ae16b8ee3701ee4ec8072ae0 /src/disk.c
parentecbcf77b9e89d983207f8ed5f57ac727577a7575 (diff)
downloadseabios-hppa-a0842f8d49c7f02cecd029a0023a97253a7a8b06.zip
seabios-hppa-a0842f8d49c7f02cecd029a0023a97253a7a8b06.tar.gz
seabios-hppa-a0842f8d49c7f02cecd029a0023a97253a7a8b06.tar.bz2
Remove Drives global struct in favor of independent global variables.
The "Drives" struct just held three global variables - declare the three global variables independently.
Diffstat (limited to 'src/disk.c')
-rw-r--r--src/disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/disk.c b/src/disk.c
index 56c369a..f7bfe9c 100644
--- a/src/disk.c
+++ b/src/disk.c
@@ -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)))