[Project64] Make sure modification time is updated on save file (android)
This commit is contained in:
parent
d3671ab5e0
commit
44b887f465
|
@ -23,6 +23,9 @@
|
||||||
#include <Project64-core/Debugger.h>
|
#include <Project64-core/Debugger.h>
|
||||||
#include <Common/Util.h>
|
#include <Common/Util.h>
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
|
#if defined(ANDROID)
|
||||||
|
#include <utime.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#pragma warning(disable:4355) // Disable 'this' : used in base member initializer list
|
#pragma warning(disable:4355) // Disable 'this' : used in base member initializer list
|
||||||
|
|
||||||
|
@ -1486,6 +1489,9 @@ bool CN64System::SaveState()
|
||||||
zipCloseFileInZip(file);
|
zipCloseFileInZip(file);
|
||||||
|
|
||||||
zipClose(file, "");
|
zipClose(file, "");
|
||||||
|
#if defined(ANDROID)
|
||||||
|
utimes((const char *)ZipFile, NULL);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue