mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-06 19:34:26 +00:00
kdrive/vesa: apply vm86 patch from Juliusz
This commit is contained in:
@@ -431,13 +431,12 @@ vm86_emulate(Vm86InfoPtr vi)
|
||||
if(pref_rep) {
|
||||
if(pref_66) {
|
||||
regs->ecx--;
|
||||
if(regs->ecx != 0) {
|
||||
if(regs->ecx != 0)
|
||||
goto again;
|
||||
} else {
|
||||
SET_16(regs->ecx, regs->ecx - 1);
|
||||
if(regs->ecx & 0xFFFF != 0)
|
||||
goto again;
|
||||
} else {
|
||||
SET_16(regs->ecx, regs->ecx - 1);
|
||||
if(regs->ecx & 0xFFFF != 0)
|
||||
goto again;
|
||||
}
|
||||
}
|
||||
}
|
||||
INC_IP(1);
|
||||
|
||||
Reference in New Issue
Block a user