Fixed SDL 1.2 compilation, moved chmod/setenv/chdir helpers to separate lib

This commit is contained in:
pelya
2013-10-17 21:16:53 +03:00
parent a649500382
commit 82031cafa0
12 changed files with 48 additions and 56 deletions

View File

@@ -1057,7 +1057,7 @@ public class MainActivity extends SDLActivity
out.flush();
out.close();
//Settings.nativeChmod(path, 0755); -> TODO: DOes not work yet.
Settings.nativeChmod(path, 0755);
//String chmod[] = { "/system/bin/chmod", "0755", path };
@@ -1074,7 +1074,7 @@ public class MainActivity extends SDLActivity
public static void LoadApplicationLibrary(final Context context)
{
//Settings.nativeChdir(Globals.DataDir);
Settings.nativeChdir(Globals.DataDir);
for(String l : Globals.AppMainLibraries)
{
try