freebsd-ports/emulators/darcnes/files/patch-ui_x.c
Kirill Ponomarev 245be80d76 - Fix build on non-i386 arch
- Add option to support Gtk/SVGAlib GUI
- Support NOPORTDOCS
- Fix WWW: line

PR:		ports/62262
Submitted by:	Ports Fury
2004-02-02 15:48:45 +00:00

15 lines
307 B
C

--- ui_x.c.orig Mon Oct 30 23:15:31 2000
+++ ui_x.c
@@ -177,6 +177,12 @@ int main(int argc, char *argv[])
return 1;
}
+ if (romfile == NULL) {
+ printf("rom not specified.\n");
+ usage(argv[0]);
+ return 1;
+ }
+
initialize_window(display);
activate_system(system_type, romfile);