Fix stub lib

This commit is contained in:
Alex
2023-04-07 05:28:13 +03:00
parent 1a2f662bf9
commit 78494d58eb
3 changed files with 21 additions and 3 deletions

View File

@ -1,7 +1,15 @@
#include <libdraw.h>
#include "../../../Kernel/syscalls.h"
int stub()
void DrawRect(int x, int y, int w, int h, int color)
{
return 0;
int i, j;
for (i = 0; i < w; i++)
{
for (j = 0; j < h; j++)
{
// TODO: DrawPixel(x + i, y + j, color);
}
}
}