diff --git a/build/systemMenu_RED/MachineSettings/ARM9/Makefile b/build/systemMenu_RED/MachineSettings/ARM9/Makefile index 4f55b679..17575d5e 100644 --- a/build/systemMenu_RED/MachineSettings/ARM9/Makefile +++ b/build/systemMenu_RED/MachineSettings/ARM9/Makefile @@ -39,7 +39,7 @@ BG_DIR = ../../data SRCS = main.c MachineSetting.c \ setRTC.c selectLanguage.c calibrationTP.c setOwnerInfo.c selectCountry.c \ - setParentalControl.c \ + setParentalControl.c setFreeSoftBox.c\ CountryNameMappingData.c \ $(MISC_DIR)/src/misc.c $(MISC_DIR)/src/cmn.c \ $(BG_DIR)/BGData_MachineSettings.c diff --git a/build/systemMenu_RED/MachineSettings/ARM9/src/MachineSetting.c b/build/systemMenu_RED/MachineSettings/ARM9/src/MachineSetting.c index 235e2478..a326dfcc 100644 --- a/build/systemMenu_RED/MachineSettings/ARM9/src/MachineSetting.c +++ b/build/systemMenu_RED/MachineSettings/ARM9/src/MachineSetting.c @@ -32,7 +32,7 @@ #define OK_BUTTON_BOTTOM_Y ( OK_BUTTON_TOP_Y + 2 * 8 ) -#define SETTING_MENU_ELEMENT_NUM 6 // メインメニューの項目数(※ピクトチャット起動テストは除いておく) +#define SETTING_MENU_ELEMENT_NUM 7 // メインメニューの項目数(※ピクトチャット起動テストは除いておく) // extern data------------------------------------------ @@ -114,6 +114,16 @@ static const u16 *const s_pStrSettingElemTbl[ SETTING_MENU_ELEMENT_NUM ][ LCFG_T (const u16 *)L"PARENTAL CONTROL(C)", (const u16 *)L"PARENTAL CONTROL(K)", }, + { + (const u16 *)L"フリーソフトBOX", + (const u16 *)L"FREESOFT BOX", + (const u16 *)L"FREESOFT BOX(F)", + (const u16 *)L"FREESOFT BOX(G)", + (const u16 *)L"FREESOFT BOX(I)", + (const u16 *)L"FREESOFT BOX(S)", + (const u16 *)L"FREESOFT BOX(C)", + (const u16 *)L"FREESOFT BOX(K)", + }, #if 0 { (const u16 *)L"ピクトチャット起動テスト", @@ -136,6 +146,7 @@ static MenuPos s_settingPos[] = { { TRUE, 4 * 8, 14 * 8 }, { TRUE, 4 * 8, 16 * 8 }, { TRUE, 4 * 8, 18 * 8 }, + { TRUE, 4 * 8, 20 * 8 }, }; @@ -237,6 +248,10 @@ int MachineSettingMain( void ) case 5: SetParentalControlInit(); g_pNowProcess = SetParentalControlMain; + break; + case 6: + SetFreeSoftBoxInit(); + g_pNowProcess = SetFreeSoftBoxMain; break; } } diff --git a/build/systemMenu_RED/MachineSettings/ARM9/src/MachineSetting.h b/build/systemMenu_RED/MachineSettings/ARM9/src/MachineSetting.h index f3862e3a..183485b8 100644 --- a/build/systemMenu_RED/MachineSettings/ARM9/src/MachineSetting.h +++ b/build/systemMenu_RED/MachineSettings/ARM9/src/MachineSetting.h @@ -69,6 +69,8 @@ extern void SelectCountryInit( void ); extern int SelectCountryMain( void ); extern void SetParentalControlInit( void ); extern int SetParentalControlMain( void ); +extern void SetFreeSoftBoxInit( void ); +extern int SetFreeSoftBoxMain( void ); extern void DrawOKCancelButton( void ); extern void CheckOKCancelButton(BOOL *tp_ok, BOOL *tp_cancel);