Commit 7a2fd369 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(init_dosfns): Fix bug in passing segment address of the transfer buffer.

parent c02a3079
......@@ -302,7 +302,7 @@ init_dosfns ()
/* Obtain the country code via DPMI, use DJGPP transfer buffer. */
dpmiregs.x.ax = 0x3800;
dpmiregs.x.ds = xbuf;
dpmiregs.x.ds = xbuf >> 4;
dpmiregs.x.dx = 0;
dpmiregs.x.ss = dpmiregs.x.sp = dpmiregs.x.flags = 0;
_go32_dpmi_simulate_int (0x21, &dpmiregs);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment