@@ -53,34 +53,34 @@ void Blitter_32bppBase::DrawLine(void *v
dx = -dx;
stepx = -1;
} else {
stepx = 1;
}
if (x > 0 && y > 0 && x < screen_width && y < screen_height) this->SetPixel(video, x, y, color);
if (x >= 0 && y >= 0 && x < screen_width && y < screen_height) this->SetPixel(video, x, y, color);
if (dx > dy) {
frac = dy - (dx / 2);
while (x != x2) {
if (frac >= 0) {
y += stepy;
frac -= dx;
x += stepx;
frac += dy;
frac = dx - (dy / 2);
while (y != y2) {
frac -= dy;
frac += dx;
void Blitter_32bppBase::CopyFromBuffer(void *video, const void *src, int width, int height)
{
@@ -57,34 +57,34 @@ void Blitter_8bppBase::DrawLine(void *vi
void Blitter_8bppBase::CopyFromBuffer(void *video, const void *src, int width, int height)
Status change: