dir_is_empty - fix case for RARCH_DIR_SYSTEM

This commit is contained in:
twinaphex 2019-06-09 08:19:34 +02:00
parent dc6de293ef
commit 3defce596b

2
dirs.c
View File

@ -140,7 +140,7 @@ bool dir_is_empty(enum rarch_dir_type type)
switch (type)
{
case RARCH_DIR_SYSTEM:
return string_is_empty(dir_savefile);
return string_is_empty(dir_system);
case RARCH_DIR_SAVEFILE:
return string_is_empty(dir_savefile);
case RARCH_DIR_CURRENT_SAVEFILE: