mirror of
https://github.com/love2d/love-android.git
synced 2026-08-19 12:14:49 +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;
|
||||
|
||||
#ifdef LOVE_ANDROID
|
||||
if (save_identity == "")
|
||||
save_identity = "unnamed";
|
||||
|
||||
std::string internal_storage_path = SDL_AndroidGetInternalStoragePath();
|
||||
|
||||
std::string save_directory = internal_storage_path + "/save";
|
||||
|
||||
Reference in New Issue
Block a user