From 95a37efc31586babadc2f42e310e13e8319158a3 Mon Sep 17 00:00:00 2001 From: stujones11 Date: Sat, 15 Jun 2019 14:12:59 +0100 Subject: [PATCH] Android: Use system provided path for default TMPFolder setting (#8505) --- src/defaultsettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index c3e676f79..dfaad0c63 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -433,7 +433,7 @@ void set_default_settings(Settings *settings) settings->setDefault("fullscreen", "true"); settings->setDefault("video_driver", "ogles1"); settings->setDefault("touchtarget", "true"); - settings->setDefault("TMPFolder","/sdcard/" PROJECT_NAME_C "/tmp/"); + settings->setDefault("TMPFolder", porting::getDataPath("tmp" DIR_DELIM)); settings->setDefault("touchscreen_threshold","20"); settings->setDefault("fixed_virtual_joystick", "false"); settings->setDefault("virtual_joystick_triggers_aux", "false");