Commit bc92f852 authored by frangarcj's avatar frangarcj Committed by Thomas Conté
Browse files

(VITA) Fix stat

parent 21c8ffb4
......@@ -2741,6 +2741,9 @@ read_config_file( settings_info *settings )
/* See if the file exists; if doesn't, it's not a problem */
if( stat( path, &stat_info ) ) {
#if defined(VITA)
return 0;
#else
if( errno == ENOENT ) {
return 0;
} else {
......@@ -2748,6 +2751,7 @@ read_config_file( settings_info *settings )
strerror( errno ) );
return 1;
}
#endif
}
error = utils_read_file( path, &file );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment