mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-20 11:05:24 +00:00
RE COutput/InputStream and friends and migrate over
This branch is probably still horribly broken, but it's a good first step to migrating away from having hecl embedded in the runtime
This commit is contained in:
@@ -43,8 +43,8 @@ void CGuiGroup::OnActiveChange() {
|
||||
|
||||
std::shared_ptr<CGuiWidget> CGuiGroup::Create(CGuiFrame* frame, CInputStream& in, CSimplePool* sp) {
|
||||
CGuiWidgetParms parms = ReadWidgetHeader(frame, in);
|
||||
s16 defaultWorker = in.readInt16Big();
|
||||
bool b = in.readBool();
|
||||
s16 defaultWorker = in.ReadInt16();
|
||||
bool b = in.ReadBool();
|
||||
std::shared_ptr<CGuiWidget> ret = std::make_shared<CGuiGroup>(parms, defaultWorker, b);
|
||||
ret->ParseBaseInfo(frame, in, parms);
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user