ports/emulators/darcnes/files/patch-ui__x.c
Pawel Pekala 2a9f1991aa - COMMENT should start wit capital letter
- Remove deprecated WANT_GNOME
- Turn pkg-plist to PLIST_FILES, PORTDOCS - only 2 plist items
- Convert to options helpers, add missing dependencies when GTK1=on
- Fix build when SVGALIB=on => patch-video__svga.c
- Regenerate patches with make makepatch
2017-07-16 18:06:45 +00:00

15 lines
306 B
C

--- ui_x.c.orig 2000-10-30 22:15:31 UTC
+++ 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);