mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-18 17:04:34 +00:00
(Menu) Unhardcode Lakka Update Dir
This commit is contained in:
parent
cb7ef6615c
commit
adfb0b5a6d
1
lakka.h
1
lakka.h
@ -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
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user