mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 02:27:42 +00:00
Char16 refactor and GuiSys bug fixes
This commit is contained in:
@@ -132,9 +132,9 @@ public:
|
||||
|
||||
class CTextInstruction : public CInstruction
|
||||
{
|
||||
std::wstring x4_str; /* used to be a placement-new sized allocation */
|
||||
std::u16string x4_str; /* used to be a placement-new sized allocation */
|
||||
public:
|
||||
CTextInstruction(const wchar_t* str, int len) : x4_str(str, len) {}
|
||||
CTextInstruction(const char16_t* str, int len) : x4_str(str, len) {}
|
||||
void Invoke(CFontRenderState& state, CTextRenderBuffer* buf) const;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user