aboutsummaryrefslogtreecommitdiffstats
path: root/src/cdrom.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/cdrom.c
parentecbcf77b9e89d983207f8ed5f57ac727577a7575 (diff)
downloadseabios-a0842f8d49c7f02cecd029a0023a97253a7a8b06.tar.gz
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/cdrom.c')
-rw-r--r--src/cdrom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cdrom.c b/src/cdrom.c
index 31ceaaaa..3769dfa6 100644
--- a/src/cdrom.c
+++ b/src/cdrom.c
@@ -109,7 +109,7 @@ cdemu_setup(void)
{
if (!CONFIG_CDROM_EMU)
return;
- if (!Drives.cdcount)
+ if (!CDCount)
return;
struct drive_s *drive_g = malloc_fseg(sizeof(*drive_g));