commit d118cc3
Devine Lu Linvega
·
2022-06-13 18:29:16 +0000 UTC
parent 48ca266
Renamed viewport to display
1 files changed,
+3,
-3
+3,
-3
1@@ -198,7 +198,7 @@ emu_event(Uxn *u)
2 }
3
4 static int
5-viewport_start(char *title)
6+display_start(char *title)
7 {
8 Atom wmDelete;
9 display = XOpenDisplay(NULL);
10@@ -234,8 +234,8 @@ main(int argc, char **argv)
11 /* start sequence */
12 if(!emu_start(&u, rom_path))
13 return emu_error("Start", rom_path);
14- if(!viewport_start(rom_path))
15- return emu_error("Init", "Failed");
16+ if(!display_start(rom_path))
17+ return emu_error("Display", "Failed");
18 /* console vector */
19 for(i = 2; i < argc; i++) {
20 char *p = argv[i];