void Video_DrawRect(short X, short Y, short W, short H, uint32_t Color);
// === GLOBALS ===
+ int giVideo_CursorX;
+ int giVideo_CursorY;
// === CODE ===
void Video_Setup(void)
{
//seek(giTerminalFD, 0, SEEK_SET);
seek(giTerminalFD, 0, 1);
- write(giTerminalFD, giScreenWidth*giScreenHeight*4, gpScreenBuffer);
+ write(giTerminalFD, gpScreenBuffer, giScreenWidth*giScreenHeight*4);
}
void Video_FillRect(short X, short Y, short W, short H, uint32_t Color)