From 9b831f837628345a0fb89abe5dc55d41d6b667e2 Mon Sep 17 00:00:00 2001 From: mgaver Date: Tue, 23 Apr 2013 16:33:08 +0900 Subject: [PATCH] Update NativeApp.cpp Remove a previous jailbreak detection routine. --- UI/NativeApp.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/UI/NativeApp.cpp b/UI/NativeApp.cpp index e786fd44fd..a0b840e04e 100644 --- a/UI/NativeApp.cpp +++ b/UI/NativeApp.cpp @@ -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);