Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/emulators/darcnes/files/patch-ui__x.c
16462 views
1
--- ui_x.c.orig 2000-10-30 22:15:31 UTC
2
+++ ui_x.c
3
@@ -177,6 +177,12 @@ int main(int argc, char *argv[])
4
return 1;
5
}
6
7
+ if (romfile == NULL) {
8
+ printf("rom not specified.\n");
9
+ usage(argv[0]);
10
+ return 1;
11
+ }
12
+
13
initialize_window(display);
14
15
activate_system(system_type, romfile);
16
17