TwlIPL/build/systemMenu_RED/ImportJump/ARM9.TWL/include/ImportJump.h
nakasima f42aa9902d インポート情報をハードリセット時に保持される領域へ移動。
製品CPUではインポート不可に。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1187 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2008-04-18 07:54:48 +00:00

70 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 clearSaveBannerFile:1; // セーブバナーファイルをクリアするデフォルトOFF
u32 importTad:1; // パスで指定されたTADファイルをインポートするかTADの更新有無に依存
u32 rsv :28; // 予約
u32 tadRomOffset; // TADをロードしたエミュレーションROMオフセット
u32 tadLength; // TADファイルの長さ
} ImportJump;
/*---------------------------------------------------------------------------*
定数定義
*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*
関数定義
*---------------------------------------------------------------------------*/
inline ImportJump* GetImportJumpSetting(void)
{
// リセット後は各PSRAMの先頭8MBしか保証されない
return (ImportJump *)HW_TWL_MAIN_MEM_EX;
}
/*===========================================================================*/
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* IMPORT_JUMP_H_ */
/*---------------------------------------------------------------------------*
End of file
*---------------------------------------------------------------------------*/