diff options
author | wiz <wiz@pkgsrc.org> | 2003-09-17 07:15:32 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2003-09-17 07:15:32 +0000 |
commit | 5065f4431f2525d5282638f6065556c90bd91d18 (patch) | |
tree | ad2331df8bc2a2fa6b0bb72dd2f8111df8406b7c /emulators/darcnes/patches | |
parent | 9efa7b4f8c402929dfa2589b7b6cecec9cf8ecf1 (diff) | |
download | pkgsrc-5065f4431f2525d5282638f6065556c90bd91d18.tar.gz |
Don't dump core if no ROM specified. From Soren Jacobsen in PR 22326.
Diffstat (limited to 'emulators/darcnes/patches')
-rw-r--r-- | emulators/darcnes/patches/patch-ab | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/emulators/darcnes/patches/patch-ab b/emulators/darcnes/patches/patch-ab new file mode 100644 index 00000000000..f21a578121c --- /dev/null +++ b/emulators/darcnes/patches/patch-ab @@ -0,0 +1,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); |