kdrive/vesa: apply vm86 patch from Juliusz

This commit is contained in:
Keith Packard 2002-02-19 00:18:05 +00:00
parent 6d8cedf68c
commit 98f8d7af3c

View File

@ -431,7 +431,7 @@ vm86_emulate(Vm86InfoPtr vi)
if(pref_rep) { if(pref_rep) {
if(pref_66) { if(pref_66) {
regs->ecx--; regs->ecx--;
if(regs->ecx != 0) { if(regs->ecx != 0)
goto again; goto again;
} else { } else {
SET_16(regs->ecx, regs->ecx - 1); SET_16(regs->ecx, regs->ecx - 1);
@ -439,7 +439,6 @@ vm86_emulate(Vm86InfoPtr vi)
goto again; goto again;
} }
} }
}
INC_IP(1); INC_IP(1);
break; break;