mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-06-03 15:08:18 +02:00
kdrive/vesa: apply vm86 patch from Juliusz
This commit is contained in:
parent
6d8cedf68c
commit
98f8d7af3c
1 changed files with 5 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue