ctr_Repair/trunk/CardSaveDataMover/body/source/savefile/savefile.BAK

39 lines
800 B
Plaintext

#ifndef SAVEFILE_H_
#define SAVEFILE_H_
#include <wchar.h>
#include <string.h>
#include <nn/types.h>
//API使用してアーカイブ情報を取得
#define INFO_API_USE 1
//カードの変わりにシステムセーブを使用(API対応までの暫定)
//#define USE_SYS_SAVE 1
//SD保存
//#define BKUP_NOTMEM 1
int GetPosDelmLast(wchar_t *s,int top);
//以下は不揮発メディア使用時のみ影響しない
#ifdef BKUP_NOTMEM
//情報ファイルのバージョン
#define INFO_VERSION 1
//SDバックアップに同梱する情報
//変更の際は後方互換とれるよう追加のみとする
typedef struct{
u32 DirEntry,FileEntry;
u32 DirCount,FileCount;
bool Dup;
u8 Ver;//バージョン
char Pcode[20];//product code save,exsaveクラスのPrdCodeサイズを下回らないこと
u8 padding[3];//パディング
}tArcInfo;
#endif
#endif