diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2009-01-21 19:13:21 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2009-01-21 19:13:21 -0500 |
commit | 7d108214e7de92612a10faba1b901ed186f7aa1e (patch) | |
tree | 4384af04099dcaa3b88d6501b1438c3f5ba4504e /src/disk.c | |
parent | 273e8ae57159d69db504fabe70b0724de5297161 (diff) | |
download | seabios-hppa-7d108214e7de92612a10faba1b901ed186f7aa1e.zip seabios-hppa-7d108214e7de92612a10faba1b901ed186f7aa1e.tar.gz seabios-hppa-7d108214e7de92612a10faba1b901ed186f7aa1e.tar.bz2 |
Fix apparent bug in int1348 -- checksum didn't have regs->si offset.
Diffstat (limited to 'src/disk.c')
-rw-r--r-- | src/disk.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -522,7 +522,8 @@ disk_1348(struct bregs *regs, u8 device) SET_INT13DPT(regs, device_path, slave); - SET_INT13DPT(regs, checksum, -checksum_far(regs->ds, (void*)30, 35)); + SET_INT13DPT(regs, checksum + , -checksum_far(regs->ds, (void*)(regs->si+30), 35)); disk_ret(regs, DISK_RET_SUCCESS); } |