Fixup movie.cpp compilation.
This commit is contained in:
parent
1d0743861b
commit
67465b636f
|
@ -228,7 +228,7 @@ void MovieData::installValue(std::string& key, std::string& val)
|
|||
guid = Desmume_Guid::fromString(val);
|
||||
else if(key == "rtcStart") {
|
||||
// sloppy format check and parse
|
||||
char *validFormatStr = "####-##-##T##:##:##Z";
|
||||
const char *validFormatStr = "####-##-##T##:##:##Z";
|
||||
bool validFormat = true;
|
||||
for (int i = 0; validFormatStr[i] != '\0'; i++) {
|
||||
if (validFormatStr[i] != val[i] &&
|
||||
|
|
|
@ -129,7 +129,7 @@ public:
|
|||
int rerecordCount;
|
||||
Desmume_Guid guid;
|
||||
|
||||
s64 rtcStart; // (time_t) it always means gmtime, not localtime.
|
||||
time_t rtcStart; // (time_t) it always means gmtime, not localtime.
|
||||
|
||||
//was the frame data stored in binary?
|
||||
bool binaryFlag;
|
||||
|
|
Loading…
Reference in New Issue