0.26.1 C needs booleans
This commit is contained in:
parent
187a69534a
commit
29a5ae530d
2 changed files with 6 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -2,7 +2,7 @@
|
|||
|
||||
VERSION_MAJOR = 0
|
||||
VERSION_MINOR = 26
|
||||
PATCHLEVEL = 0
|
||||
PATCHLEVEL = 1
|
||||
|
||||
MAKEFLAGS +=-j$(NUM_CORES) -l$(NUM_CORES)
|
||||
|
||||
|
|
|
@ -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, "" );
|
||||
|
|
Loading…
Reference in a new issue