0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-29 17:23:01 +00:00

Updated date

This commit is contained in:
neauoire 2023-08-10 08:50:14 -07:00
parent c7884b625f
commit a394dcb999

View file

@ -521,14 +521,12 @@ main(int argc, char **argv)
system_connect(0xc, DATETIME_VERSION, DATETIME_DEIMASK, DATETIME_DEOMASK); system_connect(0xc, DATETIME_VERSION, DATETIME_DEIMASK, DATETIME_DEOMASK);
/* Read flags */ /* Read flags */
if(argv[i][0] == '-' && argv[i][1] == 'v') if(argv[i][0] == '-' && argv[i][1] == 'v')
return system_version("Uxnemu - Graphical Varvara Emulator", "9 Aug 2023"); return system_version("Uxnemu - Graphical Varvara Emulator", "10 Aug 2023");
if(strcmp(argv[i], "-2x") == 0 || strcmp(argv[i], "-3x") == 0) if(strcmp(argv[i], "-2x") == 0 || strcmp(argv[i], "-3x") == 0)
set_zoom(argv[i++][1] - '0', 0); set_zoom(argv[i++][1] - '0', 0);
/* Continue.. */ /* Continue.. */
if(!emu_init()) if(!emu_init())
return system_error("Init", "Failed to initialize emulator."); return system_error("Init", "Failed to initialize emulator.");
/* default zoom */
/* load rom */ /* load rom */
rom_path = argv[i++]; rom_path = argv[i++];
if(!emu_start(&u, rom_path, argc - i)) if(!emu_start(&u, rom_path, argc - i))