TwlIPL/build/systemMenu_tools/ImportJump/ARM9.TWL/include/ImportJump.h
kamikawa bac39e78df NAMUT_Init関数を追加しました。(Alloc/Free)を渡します。
ImportJump がうまく動作しない問題を修正。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1376 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2008-05-16 06:08:34 +00:00

69 lines
2.5 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: ImportJump
File: import.h
Copyright 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 IMPORT_JUMP_H_
#define IMPORT_JUMP_H_
#ifdef __cplusplus
extern "C" {
#endif
/*===========================================================================*/
#include <nitro.h>
/*---------------------------------------------------------------------------*
型定義
*---------------------------------------------------------------------------*/
typedef struct _ImportJumpSetting
{
u32 magicCode; // = TWLD
u32 clearPublicSaveData :1; // publicセーブデータをクリアするデフォルトOFF
u32 clearPrivateSaveData :1; // privareセーブデータをクリアするデフォルトOFF
u32 clearSubBannerFile:1; // サブバナーファイルをクリアするデフォルトOFF
u32 importTad:1; // パスで指定されたTADファイルをインポートするかTADの更新有無に依存
u32 rsv :28; // 予約
u32 tadRomOffset; // TADをロードしたエミュレーションROMオフセット
u32 tadLength; // TADファイルの長さ
} ImportJump;
/*---------------------------------------------------------------------------*
定数定義
*---------------------------------------------------------------------------*/
#define IMPORT_TAD_ROM_OFS 0x00800000
#define IMPORT_JUMP_SETTING_OFS (IMPORT_TAD_ROM_OFS - CARD_ROM_PAGE_SIZE)
/*---------------------------------------------------------------------------*
関数定義
*---------------------------------------------------------------------------*/
ImportJump* GetImportJumpSetting( void );
/*===========================================================================*/
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* IMPORT_JUMP_H_ */
/*---------------------------------------------------------------------------*
End of file
*---------------------------------------------------------------------------*/