vesa: make unsupported function not an error, set return status

This commit is contained in:
Sigrid 2020-12-08 10:08:49 +01:00
parent 96850d8bb4
commit 8f9d4d7c27

View file

@ -622,7 +622,8 @@ vesathread(void *)
if(vesaddc(&ur) < 0 || vesasetregs(sp, &ur) < 0) continue;
break;
default:
vmerror("vesa: unsupported function %#x", ur.ax);
vesasetax(sp, 0x0100);
vmdebug("vesa: unsupported function %#x", ur.ax);
}
}
}