mirror of
https://github.com/love2d/love-android.git
synced 2026-08-19 20:20:25 +02:00
using identity 'unnamed' if none is specified in conf.lua(fixes issue #46)
This commit is contained in:
@@ -240,6 +240,9 @@ bool Filesystem::setIdentity(const char *ident, bool appendToPath)
|
|||||||
save_path_full += save_path_relative;
|
save_path_full += save_path_relative;
|
||||||
|
|
||||||
#ifdef LOVE_ANDROID
|
#ifdef LOVE_ANDROID
|
||||||
|
if (save_identity == "")
|
||||||
|
save_identity = "unnamed";
|
||||||
|
|
||||||
std::string internal_storage_path = SDL_AndroidGetInternalStoragePath();
|
std::string internal_storage_path = SDL_AndroidGetInternalStoragePath();
|
||||||
|
|
||||||
std::string save_directory = internal_storage_path + "/save";
|
std::string save_directory = internal_storage_path + "/save";
|
||||||
|
|||||||
Reference in New Issue
Block a user