diff --git a/config/43U/symbols.txt b/config/43U/symbols.txt index 75c50a85..e5ea56be 100644 --- a/config/43U/symbols.txt +++ b/config/43U/symbols.txt @@ -4619,10 +4619,10 @@ initCalcFadeout__Q33ipl5scene15SDChannelSelectFv = .text:0x813DE24C; // type:fun calcFadeout__Q33ipl5scene15SDChannelSelectFv = .text:0x813DE2EC; // type:function size:0x50 draw__Q33ipl5scene15SDChannelSelectFv = .text:0x813DE33C; // type:function size:0x38C destroy__Q33ipl5scene15SDChannelSelectFv = .text:0x813DE6C8; // type:function size:0x334 -iplSDChannelSelect_813DE9FC = .text:0x813DE9FC; // type:function size:0x440 +createBaseLayout__Q33ipl5scene15SDChannelSelectFv = .text:0x813DE9FC; // type:function size:0x440 iplSDChannelSelect_813DEE3C = .text:0x813DEE3C; // type:function size:0x5C iplSDChannelSelect_813DEE98 = .text:0x813DEE98; // type:function size:0x78 -iplSDChannelSelect_813DEF10 = .text:0x813DEF10; // type:function size:0x58 +calcChannelObjects__Q33ipl5scene15SDChannelSelectFv = .text:0x813DEF10; // type:function size:0x58 iplSDChannelSelect_813DEF68 = .text:0x813DEF68; // type:function size:0x27C iplSDChannelSelect_813DF1E4 = .text:0x813DF1E4; // type:function size:0x14 iplSDChannelSelect_813DF1F8 = .text:0x813DF1F8; // type:function size:0xB0 @@ -4637,7 +4637,7 @@ iplSDChannelSelect_813DF944 = .text:0x813DF944; // type:function size:0x84 iplSDChannelSelect_813DF9C8 = .text:0x813DF9C8; // type:function size:0xF8 iplSDChannelSelect_813DFAC0 = .text:0x813DFAC0; // type:function size:0xFC iplSDChannelSelect_813DFBBC = .text:0x813DFBBC; // type:function size:0xE4 -iplSDChannelSelect_813DFCA0 = .text:0x813DFCA0; // type:function size:0x50 +destroyChannelObject__Q33ipl5scene15SDChannelSelectFPQ33ipl5scene12SDChannelObj = .text:0x813DFCA0; // type:function size:0x50 iplSDChannelSelect_813DFCF0 = .text:0x813DFCF0; // type:function size:0x74 iplSDChannelSelect_813DFD64 = .text:0x813DFD64; // type:function size:0x154 iplSDChannelSelect_813DFEB8 = .text:0x813DFEB8; // type:function size:0x74 diff --git a/include/scene/sdChannelSelect/iplSDChannelSelect.h b/include/scene/sdChannelSelect/iplSDChannelSelect.h index bba1b85c..e8009563 100644 --- a/include/scene/sdChannelSelect/iplSDChannelSelect.h +++ b/include/scene/sdChannelSelect/iplSDChannelSelect.h @@ -202,9 +202,9 @@ namespace ipl { u32* mpChannelTitleIds; u32 mPendingOperation; int mLastOperation; - layout::Object* mpHelpButtonLayout; layout::Object* mpErrorLayout; layout::Object* mpPointerLayout; + layout::Object* mpHelpButtonLayout; int mOperationResult; u8 mbOperationActive; u8 mbShowNoCardMessage; diff --git a/src/scene/sdChannelSelect/iplSDChannelSelect.cpp b/src/scene/sdChannelSelect/iplSDChannelSelect.cpp index 5b05b376..f51e76f0 100644 --- a/src/scene/sdChannelSelect/iplSDChannelSelect.cpp +++ b/src/scene/sdChannelSelect/iplSDChannelSelect.cpp @@ -30,18 +30,6 @@ namespace ipl { SDChannelSelect* mpScene; }; - class SDChannelSelectGuiEventHandler : public ::gui::EventHandler { - public: - explicit SDChannelSelectGuiEventHandler(SDChannelSelect* scene) - : mpScene(scene) { - } - - void onEvent(u32 compId, u32 event, void* data) override { - } - - private: - SDChannelSelect* mpScene; - }; } const char* SDChannelSelect::mscChannelPaneNames[PAGE_COUNT][MAX_CHANNEL_INDEX] = { @@ -1064,11 +1052,11 @@ namespace ipl { "mn_SdcardMenu_Page.brlyt"); mpNoCardLayout = new layout::Object(getSceneHeap(), mpLayoutFile, "arc", "mn_Nocard.brlyt"); - mpNoCardLayout->bindToGroup("mn_Nocard_IN.brlan", "Group_00"); - mpNoCardLayout->bindToGroup("mn_Nocard_Out.brlan", "Group_00"); - mpNoCardLayout->bindToGroup("mn_Nocard_IN_02.brlan", "Group_01"); - mpNoCardLayout->bindToGroup("mn_Nocard_Out_02.brlan", "Group_01"); - mpNoCardLayout->bindToGroup("mn_Nocard_Wait.brlan", "G_Wait"); + mpNoCardLayout->bindToGroup("mn_Nocard_IN.brlan", "Group_00", false, true); + mpNoCardLayout->bindToGroup("mn_Nocard_Out.brlan", "Group_00", false, true); + mpNoCardLayout->bindToGroup("mn_Nocard_IN_02.brlan", "Group_01", false, true); + mpNoCardLayout->bindToGroup("mn_Nocard_Out_02.brlan", "Group_01", false, true); + mpNoCardLayout->bindToGroup("mn_Nocard_Wait.brlan", "G_Wait", false, true); mpNoCardLayout->getAnim(0)->initAnmFrame(); mpNoCardLayout->getAnim(2)->initAnmFrame(); mpNoCardLayout->finishBinding();