2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 15:47:46 +00:00

Oculus and Ridley SCLY trilogy fixes

This commit is contained in:
Jack Andersen
2015-10-12 15:04:36 -10:00
parent a53cf8aad3
commit da2adf350a
3 changed files with 617 additions and 4 deletions

View File

@@ -92,7 +92,7 @@ void SCLY::ScriptLayer::read(Athena::io::IStreamReader& rs)
objects.push_back(obj);
size_t actualLen = rs.position() - start;
if (actualLen != len)
Log.report(LogVisor::Warning, _S("Error while reading object of type 0x%.2X, did not read the expected amount of data, read 0x%x, expected 0x%x"), (atUint32)type, actualLen, len);
Log.report(LogVisor::FatalError, _S("Error while reading object of type 0x%.2X, did not read the expected amount of data, read 0x%x, expected 0x%x"), (atUint32)type, actualLen, len);
rs.seek(start + len, Athena::Begin);
}
else