Fix updating from installed FBI.

This commit is contained in:
Steven Smith 2016-06-18 21:36:23 -07:00
parent d7ed460de6
commit 282610e237

View File

@ -383,9 +383,13 @@ int util_compare_file_infos(const void** p1, const void** p2) {
} }
} }
static char path_3dsx[FILE_PATH_MAX]; static char path_3dsx[FILE_PATH_MAX] = {'\0'};
const char* util_get_3dsx_path() { const char* util_get_3dsx_path() {
if(strlen(path_3dsx) == 0) {
return NULL;
}
return path_3dsx; return path_3dsx;
} }