mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-23 18:30:46 +00:00
Update NativeApp.cpp
Remove a previous jailbreak detection routine.
This commit is contained in:
parent
71b8a30c65
commit
9b831f8376
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user