mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@120 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
51f85a4f25
commit
0627e4bcb9
@ -1,92 +0,0 @@
|
||||
/*---------------------------------------------------------------------------*
|
||||
Project: Horizon
|
||||
File: irp.h
|
||||
|
||||
Copyright (C)2009 Nintendo Co., Ltd. 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.
|
||||
|
||||
$Rev: $
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef MYDEFS_H_
|
||||
#define MYDEFS_H_
|
||||
|
||||
//デバグモード有効化
|
||||
//#define DEBUG_ENABLE 1
|
||||
|
||||
//リストア成功時消去
|
||||
#define SUCCESS_DELETE 1
|
||||
|
||||
//SD使用時
|
||||
//#define BKUP_NOTMEM 1
|
||||
|
||||
//データ壊すモード
|
||||
//#define CRUSH_ENABLE 1
|
||||
|
||||
|
||||
//エラー表示コード
|
||||
enum {
|
||||
ERC_UNKNOWN = 0, //不明
|
||||
ERC_DEVICE, //デバイスが見つからない(カード抜け)
|
||||
ERC_PRODCODE,//プロダクトコード不一致
|
||||
ERC_VERIFI,//ベリファイエラー
|
||||
ERC_PATH,//パスが長すぎ
|
||||
ERC_DIRDEPTH,//ディレクトリ深すぎ
|
||||
ERC_MEDIA, //メディアが見つからない(サブ基盤外れなど)
|
||||
//ERC_PULLOUT,//抜け検出
|
||||
ERC_READ = 10, //ファイルが見つからない
|
||||
ERC_WRITE_OW = 20, //既に存在
|
||||
ERC_WRITE_NS, //空き容量がない
|
||||
ERC_WRITE_PROTECT, //書込み禁止
|
||||
ERC_ACCESS = 30, //アクセスエラー
|
||||
ERC_FORMAT = 50, //フォーマットエラー
|
||||
ERC_SDK_VERIFI = 60, //検証に失敗、改竄
|
||||
ERC_ROM = 70, //ROM情報エラー
|
||||
ERC_RETRY = 80, //リトライ要求
|
||||
ERC_EXEC = 90, //実行時エラー
|
||||
ERC_FATAL = 99 //深刻なエラー
|
||||
};
|
||||
|
||||
typedef enum{
|
||||
ERC_DEV_CARD = 100,
|
||||
ERC_DEV_OUT = 200,
|
||||
ERC_DEV_OTHER = 300
|
||||
}ErcDev;
|
||||
|
||||
|
||||
//内部使用のエラー
|
||||
typedef enum {
|
||||
RESULT_OK,
|
||||
RESULT_FAIL,
|
||||
RESULT_FAIL_OPEN,
|
||||
RESULT_FAIL_OPENW,
|
||||
RESULT_FAIL_DELETE,
|
||||
RESULT_FAIL_CREATE,
|
||||
RESULT_FAIL_READ,
|
||||
RESULT_FAIL_WRITE,
|
||||
RESULT_FAIL_MOUNT,
|
||||
RESULT_FAIL_FORMAT,
|
||||
RESULT_FAIL_GETDIR,
|
||||
RESULT_NOT_FAUND,
|
||||
RESULT_NO_MEDIA,
|
||||
RESULT_NOT_FORMAT,
|
||||
RESULT_BAD_FORMAT,
|
||||
RESULT_SDK_VERIFI,
|
||||
RESULT_FILE_EXIST,
|
||||
RESULT_NO_EXSAVE,
|
||||
RESULT_ALREADY_MOUNT,
|
||||
RESULT_INVALID_FILE,
|
||||
RESULT_BAD_PARAM,
|
||||
RESULT_DIR_LEVEL_OVER,
|
||||
RESULT_PATH_LENGTH_OVER,
|
||||
RESULT_MAX
|
||||
}myResult;
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
Loading…
Reference in New Issue
Block a user