Android: Use system provided path for default TMPFolder setting (#8505)

This commit is contained in:
stujones11 2019-06-15 14:12:59 +01:00 committed by SmallJoker
parent f2c73def4b
commit 95a37efc31

@ -433,7 +433,7 @@ void set_default_settings(Settings *settings)
settings->setDefault("fullscreen", "true"); settings->setDefault("fullscreen", "true");
settings->setDefault("video_driver", "ogles1"); settings->setDefault("video_driver", "ogles1");
settings->setDefault("touchtarget", "true"); 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("touchscreen_threshold","20");
settings->setDefault("fixed_virtual_joystick", "false"); settings->setDefault("fixed_virtual_joystick", "false");
settings->setDefault("virtual_joystick_triggers_aux", "false"); settings->setDefault("virtual_joystick_triggers_aux", "false");