Formatted

This commit is contained in:
neauoire 2023-10-25 11:24:37 -04:00
parent b57554a098
commit 7cc77a47f4
2 changed files with 8 additions and 5 deletions

View File

@ -45,7 +45,10 @@ emu_run(Uxn *u)
{
while(!u->dev[0x0f]) {
int c = fgetc(stdin);
if(c == EOF) { console_input(u, 0x00, CONSOLE_END); break; }
if(c == EOF) {
console_input(u, 0x00, CONSOLE_END);
break;
}
console_input(u, (Uint8)c, CONSOLE_STD);
}
}

View File

@ -543,7 +543,7 @@ main(int argc, char **argv)
/* Read flag. Right now, there can be only one. */
if(argv[i][0] == '-') {
if(argv[i][1] == 'v')
return system_version("Uxnemu - Graphical Varvara Emulator", "2 Sep 2023");
return system_version("Uxnemu - Graphical Varvara Emulator", "25 Oct 2023");
if(argv[i][1] == '-')
i++;
if(strcmp(argv[i], "-2x") == 0 || strcmp(argv[i], "-3x") == 0)