mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 23:47:42 +00:00
Bug fixes and more CStateManager imps
This commit is contained in:
@@ -23,7 +23,9 @@ CTextColor CTextParser::ParseColor(const char16_t* str, int len)
|
||||
u8 a = 0xff;
|
||||
if (len == 9)
|
||||
a = GetColorValue(str + 7);
|
||||
return CTextColor(r, g, b, a);
|
||||
CTextColor ret;
|
||||
ret.fromRGBA8(r, g, b, a);
|
||||
return ret;
|
||||
}
|
||||
|
||||
u8 CTextParser::GetColorValue(const char16_t* str)
|
||||
|
||||
Reference in New Issue
Block a user