comparison blastem.c @ 425:8b3ae850d1c4

Forgot to null initialize the statfile pointer
author Mike Pavone <pavone@retrodev.com>
date Sat, 29 Jun 2013 17:21:19 -0700
parents 7e8e179116af
children 7f84090ab1cd 7696d824489d
comparison
equal deleted inserted replaced
424:7e8e179116af 425:8b3ae850d1c4
1882 int width = -1; 1882 int width = -1;
1883 int height = -1; 1883 int height = -1;
1884 int debug = 0; 1884 int debug = 0;
1885 int ym_log = 0; 1885 int ym_log = 0;
1886 FILE *address_log = NULL; 1886 FILE *address_log = NULL;
1887 char * statefile; 1887 char * statefile = NULL;
1888 for (int i = 2; i < argc; i++) { 1888 for (int i = 2; i < argc; i++) {
1889 if (argv[i][0] == '-') { 1889 if (argv[i][0] == '-') {
1890 switch(argv[i][1]) { 1890 switch(argv[i][1]) {
1891 case 'd': 1891 case 'd':
1892 debug = 1; 1892 debug = 1;