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

Fixes to get Metaforce booting again!

This commit is contained in:
2022-02-20 16:03:38 -08:00
parent 8afab43876
commit 1655d229cf
5 changed files with 30 additions and 29 deletions

View File

@@ -7,8 +7,8 @@
namespace metaforce {
static u32 ReadCount(CInputStream& in) {
u32 result = in.ReadLong();
if (result == UINT32_MAX) {
s32 result = in.ReadLong();
if (result == -1) {
return in.ReadLong();
}
u8 junk[784];