aboutsummaryrefslogtreecommitdiff
path: root/src/boot.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2014-05-10 01:20:46 -0400
committerKevin O'Connor <kevin@koconnor.net>2014-06-04 11:06:58 -0400
commit02f7676421af87f59e0b8e039fb7f13aaecd0b2b (patch)
tree634a221e7d1fc149d1955f2e5a2906119ed923b2 /src/boot.c
parent9e735bbd1d45b41319bb27358c3d2e8079c9786a (diff)
downloadseabios-hppa-02f7676421af87f59e0b8e039fb7f13aaecd0b2b.zip
seabios-hppa-02f7676421af87f59e0b8e039fb7f13aaecd0b2b.tar.gz
seabios-hppa-02f7676421af87f59e0b8e039fb7f13aaecd0b2b.tar.bz2
cdemu: store internal cdemu fields in standard "el-torito" spec format.
Store the fields necessary to export the "el-torito" spec information directly in an internal copy of the "el-torito" struct. This simplifies the interface and obviates the need for an internal home grown struct with the same info. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/boot.c')
-rw-r--r--src/boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot.c b/src/boot.c
index 133e206..9be8b2a 100644
--- a/src/boot.c
+++ b/src/boot.c
@@ -643,7 +643,7 @@ boot_cdrom(struct drive_s *drive_g)
return;
}
- u8 bootdrv = CDEmu.emulated_extdrive;
+ u8 bootdrv = CDEmu.emulated_drive;
u16 bootseg = CDEmu.load_segment;
/* Canonicalize bootseg:bootip */
u16 bootip = (bootseg & 0x0fff) << 4;