TwlIPL/include/sysmenu/types.h
yosiokat fe38eefbc5 TitleInfoSub, TitleProperty, TitleID_HiLo構造体をtypes.hに切り出す。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1769 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2008-07-03 11:23:31 +00:00

62 lines
1.8 KiB
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*---------------------------------------------------------------------------*
Project: TwlIPL
File: types.h
Copyright 2007 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 __SYSM_TYPES_H__
#define __SYSM_TYPES_H__
#include <twl.h>
#include <twl/os/common/format_rom.h>
#include <../build/libraries/os/common/include/application_jump_private.h>
#ifdef __cplusplus
extern "C" {
#endif
// define data----------------------------------------------------------
// NAMTitleIDをHiLoに分割してアクセスする場合に使用
typedef struct TitleID_HiLo {
u8 Lo[ 4 ];
u32 Hi;
}TitleID_HiLo;
// タイトル情報サブ
typedef struct TitleInfoSub {
RomExpansionFlags exFlags;
char platform_code;
u8 parental_control_rating_info[ PARENTAL_CONTROL_INFO_SIZE ];
u32 card_region_bitmap;
u8 agree_EULA_version;
}TitleInfoSub;
// タイトル情報
typedef struct TitleProperty { // この情報は、ランチャー時には認証通ってないけど、起動時には認証通すので大丈夫だろう。
NAMTitleId titleID; // タイトルIDTitleID_Hiで起動メディアは判定できる
LauncherBootFlags flags; // ブート時のランチャー動作フラグ
TWLBannerFile *pBanner; // バナーへのポインタ(固定長フォーマットなら偽造されても大丈夫だろう。)
TitleInfoSub sub_info;
}TitleProperty;
#ifdef __cplusplus
}
#endif
#endif // __SYSM_TYPES_H__