diff --git a/Makefile b/Makefile index 4b11554..028b045 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ VERSION_MAJOR = 0 VERSION_MINOR = 26 -PATCHLEVEL = 0 +PATCHLEVEL = 1 MAKEFLAGS +=-j$(NUM_CORES) -l$(NUM_CORES) diff --git a/src/runtime_options.c b/src/runtime_options.c index ac865c6..962c747 100644 --- a/src/runtime_options.c +++ b/src/runtime_options.c @@ -92,13 +92,16 @@ void get_absolute_config_dir( char* source, char* dest ) { static inline void normalize_filenames( void ) { struct stat st; - int normalized_config_path_exist = 0; + int normalized_config_path_exist = 1; get_absolute_config_dir( configDir, normalized_config_path ); + if ( verbose ) + fprintf( stderr, "normalized_config_path: %s\n", + normalized_config_path ); if ( stat( normalized_config_path, &st ) == -1 ) if ( errno == ENOENT ) - normalized_config_path_exist = 1; + normalized_config_path_exist = 0; if ( romFileName[ 0 ] == '/' ) strcpy( normalized_rom_path, "" );