mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
43 lines
1.1 KiB
C++
43 lines
1.1 KiB
C++
/*---------------------------------------------------------------------------*
|
|
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 EXSAVE_H_
|
|
#define EXSAVE_H_
|
|
|
|
#include <nn/types.h>
|
|
#include <nn/Result.h>
|
|
#include "../my_defs.h"
|
|
#include "savefile.h"
|
|
|
|
class ExSave: public SaveFileRead,public SaveFileWrite
|
|
{
|
|
public:
|
|
char PrdCode[20];
|
|
private:
|
|
void GetFormatInfoCore(tArcInfo *ifo);
|
|
public:
|
|
bool MountCore();
|
|
bool Delete();
|
|
s64 GetFreeSize();
|
|
myResult Create(u32 entryDir,u32 entryFile);
|
|
void Finalize(){Close();};
|
|
// bool GetPrdCode();
|
|
ExSave();
|
|
~ExSave(){Finalize();};
|
|
};
|
|
|
|
|
|
#endif
|