(Menu) Unhardcode Lakka Update Dir

This commit is contained in:
Jean-André Santoni 2016-03-23 21:40:41 +07:00
parent cb7ef6615c
commit adfb0b5a6d
2 changed files with 3 additions and 1 deletions

View File

@ -20,5 +20,6 @@
#define LAKKA_SSH_PATH "/storage/.cache/services/sshd.conf"
#define LAKKA_SAMBA_PATH "/storage/.cache/services/samba.conf"
#define LAKKA_BLUETOOTH_PATH "/storage/.cache/services/bluez.conf"
#define LAKKA_UPDATE_DIR "/storage/.update/"
#endif

View File

@ -38,6 +38,7 @@
#include "../../input/input_remapping.h"
#include "../../retroarch.h"
#include "../../system.h"
#include "../../lakka.h"
enum
{
@ -1331,7 +1332,7 @@ static void cb_generic_download(void *task_data,
break;
}
case CB_LAKKA_DOWNLOAD:
dir_path = "/storage/.update/"; /* TODO unhardcode this ? */
dir_path = LAKKA_UPDATE_DIR;
break;
default:
RARCH_WARN("Unknown transfer type '%u' bailing out.\n",