mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
・ペアレンタルコントロールのマスターキー関係 ・スリープ ・下記のAPIをSYSMから削除。 ・バックライト輝度制御。 ・無線LED制御。 ・ランチャーの無線LED制御をPMi_SetWirelessLEDに変更。 ・本体設定で、UTL_SetBacklightBrightnessを使用したバックライト輝度変更を追加。 git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1457 b08762b0-b915-fc4b-9d8c-17b2551a87ff
100 lines
2.5 KiB
C
100 lines
2.5 KiB
C
/*---------------------------------------------------------------------------*
|
|
Project: TwlIPL
|
|
File: internal_api.h
|
|
|
|
Copyright 2007-2008 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_INTERNAL_API_H_
|
|
#define SYSM_INTERNAL_API_H_
|
|
|
|
#include <twl.h>
|
|
#include <sysmenu/sysmenu_lib/common/pxi.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
//#define SYSM_LIB_NO_MESSAGE // Printf抑制スイッチ
|
|
|
|
#ifdef SYSM_LIB_NO_MESSAGE
|
|
#define OS_Printf( ... ) ((void)0)
|
|
#define OS_TPrintf( ... ) ((void)0)
|
|
#define OS_PutString( ... ) ((void)0)
|
|
#endif
|
|
|
|
//-------------------------------------------------------
|
|
// マウント情報セット
|
|
//-------------------------------------------------------
|
|
|
|
#ifdef SDK_ARM9
|
|
|
|
// BootSRLPath受け渡し用
|
|
void SYSMi_SetBootSRLPathToWork2( TitleProperty *pBootTitle );
|
|
|
|
#else // !SDK_ARM9
|
|
|
|
// ランチャー用
|
|
void SYSMi_SetLauncherMountInfo( void );
|
|
|
|
// 起動アプリ用
|
|
void SYSMi_SetBootAppMountInfo( TitleProperty *pBootTitle );
|
|
|
|
#endif // SDK_ARM9
|
|
|
|
|
|
#ifdef SDK_ARM9
|
|
//-------------------------------------------------------
|
|
// デバイス
|
|
//-------------------------------------------------------
|
|
|
|
// RTC補正
|
|
void SYSMi_WriteAdjustRTC( void );
|
|
|
|
// RTCチェック
|
|
void SYSMi_CheckRTC( void );
|
|
|
|
|
|
#endif // SDK_ARM9
|
|
|
|
|
|
#ifdef SDK_ARM7
|
|
//-------------------------------------------------------
|
|
// AES鍵設定
|
|
//-------------------------------------------------------
|
|
// アプリブート用
|
|
void SYSMi_SetAESKeysForAccessControl( BOOL isNtrMode, ROM_Header *pROMH );
|
|
|
|
// ランチャー自身用
|
|
void SYSMi_SetAESKeysForAccessControlCore( ROM_Header *pROMH, u8 *pDst, BOOL *pIsClearSlotB, BOOL *pIsClearSlotC );
|
|
|
|
#endif // SDK_ARM7
|
|
|
|
|
|
//=======================================================
|
|
//
|
|
// ARM9/ARM7共通API
|
|
//
|
|
//=======================================================
|
|
BOOL SYSMi_IsDebuggerBannerViewMode( void );
|
|
BOOL SYSMi_CheckEntryAddress( void );
|
|
BOOL SYSMi_CopyCardRomHeader( void );
|
|
BOOL SYSMi_CopyCardBanner( void );
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // SYSM_INTERNAL_API_H_
|