2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 03:07:41 +00:00

STRG cooking bug fixes

This commit is contained in:
Jack Andersen
2017-01-26 16:22:52 -10:00
parent bcc524e084
commit 3a3298d48e
10 changed files with 47 additions and 30 deletions

View File

@@ -299,7 +299,7 @@ ResId CTextParser::GetAssetIdFromString(const char16_t* str)
u8 g = GetColorValue(str + 2);
u8 b = GetColorValue(str + 4);
u8 a = GetColorValue(str + 6);
return (r << 24) | (g << 16) | (b << 8) | a;
return ((r << 24) | (g << 16) | (b << 8) | a) & 0xffffffff;
}
TToken<CRasterFont> CTextParser::GetFont(const char16_t* str, int len)