summaryrefslogtreecommitdiff
path: root/emulators/darcnes/patches/patch-ab
blob: f21a578121ccbd2968fc6be796ff9e373ae678ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ab,v 1.6 2003/09/17 07:15:34 wiz Exp $

--- 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);