mirror of https://github.com/falsovsky/z80.git
Everything was off one pixel to the right
This commit is contained in:
parent
7ccde2d46b
commit
750273058e
|
@ -81,7 +81,7 @@ draw ()
|
||||||
if (READ_BIT(c,z)) {
|
if (READ_BIT(c,z)) {
|
||||||
rect.w = 1;
|
rect.w = 1;
|
||||||
rect.h = 1;
|
rect.h = 1;
|
||||||
rect.x = (i*8-z)+8;
|
rect.x = (i*8-z)+7;
|
||||||
rect.y = b;
|
rect.y = b;
|
||||||
SDL_FillRect (screen, &rect, color);
|
SDL_FillRect (screen, &rect, color);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue