[Project64] Make sure modification time is updated on save file (android)

This commit is contained in:
zilmar 2016-06-05 10:03:12 +10:00
parent d3671ab5e0
commit 44b887f465
1 changed files with 6 additions and 0 deletions
Source/Project64-core/N64System

View File

@ -23,6 +23,9 @@
#include <Project64-core/Debugger.h>
#include <Common/Util.h>
#include <float.h>
#if defined(ANDROID)
#include <utime.h>
#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
{