Skip to content

Commit

Permalink
dosGetUMBLinkState needs to return state in _AL, not _AX (see #10)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartoldeman committed May 14, 2019
1 parent ae902a3 commit b335934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gumblink.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ int dosGetUMBLinkState(void)

_AX = 0x5802; /* get UMB link */
geninterrupt(0x21);
return _CFLAG ? 0 : _AX;
return _CFLAG ? 0 : _AL;
}

0 comments on commit b335934

Please sign in to comment.