comparison stateview.c @ 812:574495372d1c

Finish OS X support in build_release script. Fix a name conflict in vgmplay on OS X. Call set_exe_str in vgmplay and stateview
author Michael Pavone <pavone@retrodev.com>
date Sun, 26 Jul 2015 21:18:44 -0700
parents 9aff36a172b2
children 126c0294c1e4
comparison
equal deleted inserted replaced
811:b1a09ef90755 812:574495372d1c
66 } 66 }
67 FILE * state_file = fopen(argv[1], "rb"); 67 FILE * state_file = fopen(argv[1], "rb");
68 if (!state_file) { 68 if (!state_file) {
69 fatal_error("Failed to open %s\n", argv[1]); 69 fatal_error("Failed to open %s\n", argv[1]);
70 } 70 }
71 set_exe_str(argv[0]);
71 config = load_config(argv[0]); 72 config = load_config(argv[0]);
72 int width = -1; 73 int width = -1;
73 int height = -1; 74 int height = -1;
74 if (argc > 2) { 75 if (argc > 2) {
75 width = atoi(argv[2]); 76 width = atoi(argv[2]);