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);
|
guid = Desmume_Guid::fromString(val);
|
||||||
else if(key == "rtcStart") {
|
else if(key == "rtcStart") {
|
||||||
// sloppy format check and parse
|
// sloppy format check and parse
|
||||||
char *validFormatStr = "####-##-##T##:##:##Z";
|
const char *validFormatStr = "####-##-##T##:##:##Z";
|
||||||
bool validFormat = true;
|
bool validFormat = true;
|
||||||
for (int i = 0; validFormatStr[i] != '\0'; i++) {
|
for (int i = 0; validFormatStr[i] != '\0'; i++) {
|
||||||
if (validFormatStr[i] != val[i] &&
|
if (validFormatStr[i] != val[i] &&
|
||||||
|
|
|
@ -129,7 +129,7 @@ public:
|
||||||
int rerecordCount;
|
int rerecordCount;
|
||||||
Desmume_Guid guid;
|
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?
|
//was the frame data stored in binary?
|
||||||
bool binaryFlag;
|
bool binaryFlag;
|
||||||
|
|
Loading…
Reference in New Issue