Renamed viewport to display

This commit is contained in:
Devine Lu Linvega 2022-06-13 11:29:16 -07:00
parent 48ca266a46
commit d118cc3813
1 changed files with 3 additions and 3 deletions

View File

@ -198,7 +198,7 @@ emu_event(Uxn *u)
} }
static int static int
viewport_start(char *title) display_start(char *title)
{ {
Atom wmDelete; Atom wmDelete;
display = XOpenDisplay(NULL); display = XOpenDisplay(NULL);
@ -234,8 +234,8 @@ main(int argc, char **argv)
/* start sequence */ /* start sequence */
if(!emu_start(&u, rom_path)) if(!emu_start(&u, rom_path))
return emu_error("Start", rom_path); return emu_error("Start", rom_path);
if(!viewport_start(rom_path)) if(!display_start(rom_path))
return emu_error("Init", "Failed"); return emu_error("Display", "Failed");
/* console vector */ /* console vector */
for(i = 2; i < argc; i++) { for(i = 2; i < argc; i++) {
char *p = argv[i]; char *p = argv[i];