Fixed issue with blank 1px line
This commit is contained in:
parent
f44c43b801
commit
01c983bfb7
|
@ -289,7 +289,7 @@ screen_deo(Uint8 *ram, Uint8 *d, Uint8 port)
|
|||
/* pixel mode */
|
||||
else {
|
||||
Uint16 w = uxn_screen.width;
|
||||
if(rX > 0 && rY > 0 && rX < w && rY < uxn_screen.height)
|
||||
if(rX >= 0 && rY >= 0 && rX < w && rY < uxn_screen.height)
|
||||
layer[rX + rY * w] = color;
|
||||
screen_change(rX, rY, rX + 1, rY + 1);
|
||||
if(rMX) rX++;
|
||||
|
|
|
@ -271,7 +271,7 @@ main(int argc, char **argv)
|
|||
int i = 1;
|
||||
char *rom;
|
||||
if(i != argc && argv[i][0] == '-' && argv[i][1] == 'v') {
|
||||
fprintf(stdout, "Uxn11 - Varvara Emulator, 19 Mar 2024.\n");
|
||||
fprintf(stdout, "Uxn11 - Varvara Emulator, 5 Jun 2024.\n");
|
||||
i++;
|
||||
}
|
||||
rom = i == argc ? "boot.rom" : argv[i++];
|
||||
|
|
Loading…
Reference in New Issue