Update NativeApp.cpp

Remove a previous jailbreak detection routine.
This commit is contained in:
mgaver 2013-04-23 16:33:08 +09:00
parent 71b8a30c65
commit 9b831f8376

View File

@ -75,10 +75,6 @@ ScreenManager *screenManager;
std::string config_filename;
std::string game_title;
#ifdef IOS
bool isJailed;
#endif
recursive_mutex pendingMutex;
static bool isMessagePending;
static std::string pendingMessage;
@ -203,12 +199,6 @@ void NativeInit(int argc, const char *argv[], const char *savegame_directory, co
#elif defined(IOS)
VFSRegister("", new DirectoryAssetReader(external_directory));
user_data_path += "/";
// Detect Jailbreak(Sandboxed or not)
if(strlen(external_directory) > 30)
{
isJailed = true;
}
#elif defined(__APPLE__)
char program_path[4090];
uint32_t program_path_size = sizeof(program_path);