mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
肥大化したviewSystemInfo.cを項目ごとにとりあえず分割。 SDK更新に伴ってNAMライブラリが動作しなくなったので、起動時にcryptoにアロケータを渡すようにした。 git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2001 b08762b0-b915-fc4b-9d8c-17b2551a87ff
220 lines
6.4 KiB
C
220 lines
6.4 KiB
C
/*---------------------------------------------------------------------------*
|
||
Project: TwlIPL - tests - DisplaySystemInformation
|
||
File: strResource.h
|
||
|
||
Copyright **** Nintendo. All rights reserved.
|
||
|
||
These coded instructions, statements, and computer programs contain
|
||
proprietary information of Nintendo of America Inc. and/or Nintendo
|
||
Company Ltd., and are protected by Federal copyright law. They may
|
||
not be disclosed to third parties or copied or duplicated in any form,
|
||
in whole or in part, without the prior written consent of Nintendo.
|
||
|
||
$Date:: $
|
||
$Rev$
|
||
$Author$
|
||
*---------------------------------------------------------------------------*/
|
||
|
||
#ifndef __DISPLAY_INFO_RESOURCE__
|
||
#define __DISPLAY_INFO_RESOURCE__
|
||
|
||
// ƒ<>ƒjƒ…<C692>[ID
|
||
#define MENU_ROOT 11
|
||
#define MENU_OWNER 0
|
||
#define MENU_PARENTAL 1
|
||
#define MENU_OTHER 2
|
||
#define MENU_NORMAL_HW 3
|
||
#define MENU_SECURE_HW 4
|
||
#define MENU_SCFG_ARM7 5
|
||
#define MENU_SCFG_ARM9 6
|
||
#define MENU_SYSMENU 7
|
||
#define MENU_VERSION 8
|
||
#define MENU_RESET_INFO 9
|
||
#define MENU_BREAK_DATA 10
|
||
|
||
|
||
// <20>s”Ô<E2809D>†
|
||
#define OWNER_LANGUAGE 0
|
||
#define OWNER_COLOR 1
|
||
#define OWNER_BIRTHDAY 2
|
||
#define OWNER_COUNTRY 3
|
||
#define OWNER_NICKNAME 4
|
||
#define OWNER_COMMENT 5
|
||
|
||
#define PARENTAL_FLAG 0
|
||
#define PARENTAL_PICTOCHAT 1
|
||
#define PARENTAL_DOWNLOAD 2
|
||
#define PARENTAL_BROWSER 3
|
||
#define PARENTAL_WIIPOINT 4
|
||
#define PARENTAL_PHOTO_EXCHANGE 5
|
||
#define PARENTAL_UGC 6
|
||
#define PARENTAL_ORGANIZATION 7
|
||
#define PARENTAL_AGE 8
|
||
#define PARENTAL_PASSWORD 9
|
||
#define PARENTAL_QUESTION_ID 10
|
||
#define PARENTAL_ANSWER 11
|
||
|
||
#define OTHER_AGREE_EULA 0
|
||
#define OTHER_EULA_VERSION 1
|
||
#define OTHER_WIRELESS 2
|
||
#define OTHER_INITIAL_SETTINGS 3
|
||
#define OTHER_INITIAL_LAUNCHER 4
|
||
#define OTHER_BROKEN_SETTINGS 5
|
||
#define OTHER_LCFG_INSTALLED_SOFTBOX 6
|
||
#define OTHER_LCFG_FREE_SOFTBOX 7
|
||
#define OTHER_LCFG_LASTBOOT_IDX 8
|
||
#define OTHER_LCFG_LASTBOOT_PLATFORM 9
|
||
#define OTHER_LCFG_LASTBOOT_ID 10
|
||
|
||
#define NORMAL_HW_RTC_OFFSET 0
|
||
#define NORMAL_HW_UNIQUE_ID 1
|
||
|
||
#define SECURE_HW_FORCE_DISABLE 0
|
||
#define SECURE_HW_REGION 1
|
||
#define SECURE_HW_SERIAL 2
|
||
#define SECURE_HW_LANGUAGE 3
|
||
#define SECURE_HW_FUSE 4
|
||
#define SECURE_HW_TITLEID_LO 5
|
||
|
||
#define SCFG_ARM9_ROM_SEC 0
|
||
#define SCFG_ARM9_ROM_STATE 1
|
||
#define SCFG_ARM9_CLK_CPU 2
|
||
#define SCFG_ARM9_CLK_DSP 3
|
||
#define SCFG_ARM9_CLK_CAM 4
|
||
#define SCFG_ARM9_CLK_WRAM 5
|
||
#define SCFG_ARM9_CLK_CAM_CKI 6
|
||
#define SCFG_ARM9_RST_DSP 7
|
||
#define SCFG_ARM9_EXT_DMA 8
|
||
#define SCFG_ARM9_EXT_GEO 9
|
||
#define SCFG_ARM9_EXT_REN 10
|
||
#define SCFG_ARM9_EXT_2DE 11
|
||
#define SCFG_ARM9_EXT_DIV 12
|
||
#define SCFG_ARM9_EXT_MC 13
|
||
#define SCFG_ARM9_EXT_INTC 14
|
||
#define SCFG_ARM9_EXT_LCDC 15
|
||
#define SCFG_ARM9_EXT_VRAM 16
|
||
#define SCFG_ARM9_EXT_PS 17
|
||
#define SCFG_ARM9_EXT_DMAC 18
|
||
#define SCFG_ARM9_EXT_CAM 19
|
||
#define SCFG_ARM9_EXT_DSP 20
|
||
#define SCFG_ARM9_EXT_MCB 21
|
||
#define SCFG_ARM9_EXT_WRAM 22
|
||
#define SCFG_ARM9_EXT_CFG 23
|
||
|
||
|
||
#define SCFG_ARM7_ROM_ARM9_SEC 0
|
||
#define SCFG_ARM7_ROM_ARM9_RSEL 1
|
||
#define SCFG_ARM7_ROM_ARM7_SEC 2
|
||
#define SCFG_ARM7_ROM_ARM7_RSEL 3
|
||
#define SCFG_ARM7_ROM_ARM7_FUSE 4
|
||
#define SCFG_ARM7_ROM_WE 5
|
||
#define SCFG_ARM7_CLK_SD1 6
|
||
#define SCFG_ARM7_CLK_SD2 7
|
||
#define SCFG_ARM7_CLK_AES 8
|
||
#define SCFG_ARM7_CLK_WRAM 9
|
||
#define SCFG_ARM7_CLK_SND 10
|
||
#define SCFG_ARM7_JTAG_A7 11
|
||
#define SCFG_ARM7_JTAG_CPU 12
|
||
#define SCFG_ARM7_JTAG_DSP 13
|
||
#define SCFG_ARM7_EXT_DMA 14
|
||
#define SCFG_ARM7_EXT_SDMA 15
|
||
#define SCFG_ARM7_EXT_SND 16
|
||
#define SCFG_ARM7_EXT_MC 17
|
||
#define SCFG_ARM7_EXT_INTC 18
|
||
#define SCFG_ARM7_EXT_SPI 19
|
||
#define SCFG_ARM7_EXT_DSEL 20
|
||
#define SCFG_ARM7_EXT_SIO 21
|
||
#define SCFG_ARM7_EXT_LCDC 22
|
||
#define SCFG_ARM7_EXT_VRAM 23
|
||
#define SCFG_ARM7_EXT_PS 24
|
||
#define SCFG_ARM7_EXT_DMAC 25
|
||
#define SCFG_ARM7_EXT_AES 26
|
||
#define SCFG_ARM7_EXT_SD1 27
|
||
#define SCFG_ARM7_EXT_SD2 28
|
||
#define SCFG_ARM7_EXT_MIC 29
|
||
#define SCFG_ARM7_EXT_I2S 30
|
||
#define SCFG_ARM7_EXT_I2C 31
|
||
#define SCFG_ARM7_EXT_GPIO 32
|
||
#define SCFG_ARM7_EXT_MCB 33
|
||
#define SCFG_ARM7_EXT_WRAM 34
|
||
#define SCFG_ARM7_EXT_PU 35
|
||
#define SCFG_ARM7_EXT_CFG 36
|
||
#define SCFG_ARM7_MI_SC1_CDET 37
|
||
#define SCFG_ARM7_MI_SC1_MODE 38
|
||
#define SCFG_ARM7_MI_SC2_CDET 39
|
||
#define SCFG_ARM7_MI_SC2_MODE 40
|
||
#define SCFG_ARM7_MI_SWP 41
|
||
#define SCFG_ARM7_MI_CC 42
|
||
#define SCFG_ARM7_MI_CA 43
|
||
#define SCFG_ARM7_WL_OFFB 44
|
||
#define SCFG_ARM7_OP_FORM 45
|
||
#define SCFG_ARM7_OP_APP 46
|
||
|
||
#define SCFG_ARM7_SHARED_OFFSET 47
|
||
|
||
#define SYSMENU_VERSION_NUM 0
|
||
#define SYSMENU_VERSION_STR 1
|
||
#define SYSMENU_EULA_URL 2
|
||
#define SYSMENU_NUP_HOST 3
|
||
#define SYSMENU_TIMESTAMP 4
|
||
#define SYSMENU_SIGN_NUP_CERT 5
|
||
#define SYSMENU_SIGN_NUP_PRV 6
|
||
#define SYSMENU_SIGN_SHOP_CERT 7
|
||
#define SYSMENU_SIGN_SHOP_PRV 8
|
||
#define SYSMENU_SIGN_NINTENDO_CA 9
|
||
#define SYSMENU_SIGN_NINTENDO_CAC2 10
|
||
#define SYSMENU_SIGN_NINTENDO_CAG2 11
|
||
|
||
#define SYSMENU_SIGN_IDX 5
|
||
|
||
#define VERSION_WIRELESS 0
|
||
#define VERSION_FONT 1
|
||
#define VERSION_OTHER 2
|
||
|
||
// Šeƒ<65>ƒjƒ…<C692>[ƒTƒCƒY
|
||
#define ROOTMENU_SIZE 11
|
||
#define OWNERMENU_SIZE 6
|
||
#define PARENTALMENU_SIZE 12
|
||
#define OTHERMENU_SIZE 11
|
||
#define NORMAL_HW_MENU_SIZE 2
|
||
#define SECURE_HW_MENU_SIZE 6
|
||
#define SCFG_ARM7_MENU_SIZE 47
|
||
#define SCFG_ARM9_MENU_SIZE 24
|
||
#define SYSMENU_MENU_SIZE 12
|
||
#define VERSIONMENU_SIZE 2
|
||
|
||
|
||
extern int s_numMenu[];
|
||
extern const char *s_strRootMenu[];
|
||
extern const char *s_strOwnerMenu[];
|
||
extern const char *s_strParentalMenu[];
|
||
extern const char *s_strNormalHWMenu[];
|
||
extern const char *s_strSecureHWMenu[];
|
||
extern const char *s_strSCFGARM7Menu[];
|
||
extern const char *s_strSCFGARM9Menu[];
|
||
extern const char *s_strSystemMenu[];
|
||
extern const char *s_strVersionMenu[];
|
||
extern const char **s_strMetaMenu[];
|
||
extern const char *s_strARM7RegisterName[];
|
||
extern const char *s_strARM9RegisterName[];
|
||
extern const char *s_strSCFGViewMode[];
|
||
extern char *s_strEnable[];
|
||
extern char *s_strJoint[];
|
||
extern char *s_strCorrect[];
|
||
extern char *s_strSupply[];
|
||
extern char *s_strRomMode[];
|
||
extern char *s_strPSRAM[];
|
||
extern char *s_strCpuSpeed[];
|
||
extern char *s_strBool[];
|
||
extern char *s_strAccess[];
|
||
extern char *s_strRomApp[];
|
||
extern char *s_strRomForm[];
|
||
extern char *s_strMCMode[];
|
||
extern char *s_strRatingOrg[];
|
||
extern char *s_strRegion[];
|
||
extern char *s_strUserColor[];
|
||
extern char *s_strLanguage[];
|
||
extern char *s_strCountry[];
|
||
extern char s_strNA[];
|
||
|
||
#endif |