(dynamic.c) Fix logic error

This commit is contained in:
twinaphex 2015-08-20 00:43:25 +02:00
parent 16da8cfe2d
commit bfb7ee30c5

View File

@ -752,7 +752,7 @@ bool rarch_environment_cb(unsigned cmd, void *data)
break;
case RETRO_ENVIRONMENT_GET_SYSTEM_DIRECTORY:
if (!settings->system_directory || settings->system_directory[0] == '\0')
if (settings->system_directory[0] == '\0' || settings->system_directory[0] == '\0')
{
RARCH_WARN("SYSTEM DIR is empty, assume CONTENT DIR %s\n",global->path.fullpath);
fill_pathname_basedir(buf, global->path.fullpath,