Enable interrupt flag after call 0x11 as well. Thanks ripsaw. Fixes a Korean game
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3802
This commit is contained in:
parent
23323c97ef
commit
e93bc1e558
1 changed files with 3 additions and 1 deletions
|
@ -514,7 +514,7 @@ static Bitu INT16_Handler(void) {
|
|||
break;
|
||||
case 0x01: /* CHECK FOR KEYSTROKE */
|
||||
// enable interrupt-flag after IRET of this int16
|
||||
mem_writew(SegPhys(ss)+reg_sp+4,(mem_readw(SegPhys(ss)+reg_sp+4) | FLAG_IF));
|
||||
CALLBACK_SIF(true);
|
||||
for (;;) {
|
||||
if (check_key(temp)) {
|
||||
if (!IsEnhancedKey(temp)) {
|
||||
|
@ -535,6 +535,8 @@ static Bitu INT16_Handler(void) {
|
|||
}
|
||||
break;
|
||||
case 0x11: /* CHECK FOR KEYSTROKE (enhanced keyboards only) */
|
||||
// enable interrupt-flag after IRET of this int16
|
||||
CALLBACK_SIF(true);
|
||||
if (!check_key(temp)) {
|
||||
CALLBACK_SZF(true);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue