diff --git a/Source/Project64-core/N64System/N64Class.cpp b/Source/Project64-core/N64System/N64Class.cpp index af617d306..4708d660c 100644 --- a/Source/Project64-core/N64System/N64Class.cpp +++ b/Source/Project64-core/N64System/N64Class.cpp @@ -23,6 +23,9 @@ #include #include #include +#if defined(ANDROID) +#include +#endif #pragma warning(disable:4355) // Disable 'this' : used in base member initializer list @@ -1486,6 +1489,9 @@ bool CN64System::SaveState() zipCloseFileInZip(file); zipClose(file, ""); +#if defined(ANDROID) + utimes((const char *)ZipFile, NULL); +#endif } else {