This commit is contained in:
Alex
2022-12-11 05:30:46 +02:00
parent bade38e173
commit 16bcb896fa
3 changed files with 7 additions and 5 deletions

View File

@ -15,8 +15,11 @@ static uint64_t sys_exit(SyscallsFrame *Frame, uint64_t code)
static int sys_print(SyscallsFrame *Frame, char Char, int Index)
{
debug("%c", Char);
return Display->Print(Char, Index, true);
int ret = Display->Print(Char, Index, true);
#ifdef DEBUG
Display->SetBuffer(Index);
#endif
return ret;
}
static void *NativeSyscallsTable[] = {