Fixed issue with screen changed region
This commit is contained in:
parent
86c26de680
commit
c1fd75a90b
|
@ -1,4 +1,5 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "../uxn.h"
|
||||
#include "screen.h"
|
||||
|
@ -126,7 +127,8 @@ screen_redraw(void)
|
|||
i = x + y * w;
|
||||
pixels[i] = palette[fg[i] << 2 | bg[i]];
|
||||
}
|
||||
uxn_screen.x1 = uxn_screen.y1 = uxn_screen.x2 = uxn_screen.y2 = 0;
|
||||
uxn_screen.x1 = uxn_screen.y1 = 0xffff;
|
||||
uxn_screen.x2 = uxn_screen.y2 = 0;
|
||||
}
|
||||
|
||||
/* clang-format off */
|
||||
|
|
|
@ -219,7 +219,7 @@ main(int argc, char **argv)
|
|||
system_connect(0xc, DATETIME_VERSION, DATETIME_DEIMASK, DATETIME_DEOMASK);
|
||||
/* Read flags */
|
||||
if(argv[i][0] == '-' && argv[i][1] == 'v')
|
||||
return system_version("Uxn11 - Graphical Varvara Emulator", "9 Aug 2023");
|
||||
return system_version("Uxn11 - Graphical Varvara Emulator", "10 Aug 2023");
|
||||
|
||||
rom_path = argv[1];
|
||||
if(!uxn_boot(&u, (Uint8 *)calloc(0x10000 * RAM_PAGES, sizeof(Uint8))))
|
||||
|
|
Loading…
Reference in New Issue