Renamed viewport to display
This commit is contained in:
parent
48ca266a46
commit
d118cc3813
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue