mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-21 19:39:13 +00:00
aurora: the boring C++ version
This commit is contained in:
@@ -169,9 +169,8 @@ void CGuiFrame::LoadWidgetsInGame(CInputStream& in, CSimplePool* sp) {
|
||||
for (u32 i = 0; i < count; ++i) {
|
||||
DataSpec::DNAFourCC type;
|
||||
type.read(in);
|
||||
std::shared_ptr<CGuiWidget> widget = CGuiSys::CreateWidgetInGame(type, in, this, sp);
|
||||
type = widget->GetWidgetTypeID();
|
||||
switch (type.toUint32()) {
|
||||
std::shared_ptr<CGuiWidget> widget = CGuiSys::CreateWidgetInGame(type.toUint32(), in, this, sp);
|
||||
switch (widget->GetWidgetTypeID().toUint32()) {
|
||||
case SBIG('CAMR'):
|
||||
case SBIG('LITE'):
|
||||
case SBIG('BGND'):
|
||||
|
||||
Reference in New Issue
Block a user