aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/localboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/localboot.c b/core/localboot.c
index a4df9171..dcf23c58 100644
--- a/core/localboot.c
+++ b/core/localboot.c
@@ -57,7 +57,7 @@ __export void local_boot(int16_t ax)
* Load boot sector from the specified BIOS device and jump to
* it.
*/
- ireg.edx.b[0] = ax & 0xff;
+ ireg.edx.w[0] = ax & 0xff;
ireg.eax.w[0] = 0; /* Reset drive */
__intcall(0x13, &ireg, NULL);