Am 16.09.2012 22:36, schrieb Tobias Hansen:
Ok, thanks for the clarification. I should be able to patch around these
two issues myself. The tool for purifying the ROMs were right in the
middle of being rewritten when the Debian freeze happened and was only
included with one or two bsnes versions in this form, so it's not very
polished.

How about this one?

 - Fabian

--- purify.cpp1	2012-09-18 09:58:48.000000000 +0200
+++ purify.cpp	2012-09-18 10:07:14.000000000 +0200
@@ -238,7 +238,8 @@
 int main(int argc, char **argv) {
   Application *application = new Application;
 
-  string source = argv[2];
+  string source;
+  if(argc > 2) source = argv[2];
   if(!source.endswith("/")) source.append("/");
 
   if(argc == 4 && cstring{argv[1]} == "scan") {

Reply via email to