mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
36 lines
728 B
C
36 lines
728 B
C
#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);
|
|
|
|
//情報ファイルのバージョン
|
|
#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
|