add: if (sConsole.depth < 8) { x /= 8; endY /= 8; }
context: draw_cursor(int32 x, int32 y){	if (x < 0 || y < 0)		return;	x *= CHAR_WIDTH * sConsole.bytes_per_pixel;	y *= CHAR_HEIGHT;	int32 endX = x + CHAR_WIDTH * sConsole.bytes_per_pixel;	int32 endY = y + CHAR_HEIGHT;	uint8 *base = (uint8 *)(sConsole.frame_buffer + y * sConsole.bytes_per_row);	for (; y < endY; y++) {		for (int32 x2 = x; x2 < endX; x2++)			base[x2] = ~base[x2];		base += sConsole.bytes_per_row;	}}