(ems) build fix

This commit is contained in:
radius 2016-09-07 20:19:51 -05:00
parent 46a861836b
commit e97b273c94

View File

@ -82,7 +82,7 @@ static void frontend_emscripten_get_env(int *argc, char *argv[],
char user_path[PATH_MAX] = {0};
const char *home = getenv("HOME");
if (!string_is_empty(home))
if (home)
{
snprintf(base_path, sizeof(base_path),
"%s/retroarch", home);