TwlIPL/build/systemMenu_RED/ImportJump/ARM9.TWL/include/ImportJump.h
kamikawa d3f78a78c3 Host I/O を使う方法は FS関数がワイド文字列を扱えないという壁にぶち当たり断念。FS_CreateFileFromRomを使う方法に変更。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1168 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2008-04-17 02:04:39 +00:00

71 lines
2.4 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 clearSaveBannerFile:1; // セーブバナーファイルをクリアするデフォルトOFF
u32 importTad:1; // パスで指定されたTADファイルをインポートするかTADの更新有無に依存
u32 rsv :28; // 予約
u32 tadLength; // TADファイルの長さ
} ImportJump;
/*---------------------------------------------------------------------------*
定数定義
*---------------------------------------------------------------------------*/
// TADファイル配置アドレス
#define IMPORT_TAD_ADDRESS 0x00800000
/*---------------------------------------------------------------------------*
関数定義
*---------------------------------------------------------------------------*/
inline ImportJump* GetImportJumpSetting(void)
{
return (ImportJump *)0x0dfc0000;
}
/*===========================================================================*/
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* IMPORT_JUMP_H_ */
/*---------------------------------------------------------------------------*
End of file
*---------------------------------------------------------------------------*/