2015-06-26 19:30:03 +00:00
|
|
|
#ifndef __NOD_DISC_WII__
|
|
|
|
#define __NOD_DISC_WII__
|
|
|
|
|
|
|
|
#include "DiscBase.hpp"
|
|
|
|
|
|
|
|
namespace NOD
|
|
|
|
{
|
|
|
|
|
|
|
|
class DiscWii : public DiscBase
|
|
|
|
{
|
|
|
|
public:
|
2015-06-28 05:43:53 +00:00
|
|
|
DiscWii(std::unique_ptr<IDiscIO>&& dio);
|
2016-01-22 23:45:58 +00:00
|
|
|
void writeOutDataPartitionHeader(const SystemChar* pathOut) const;
|
2016-01-22 02:30:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class DiscBuilderWii : public DiscBuilderBase
|
|
|
|
{
|
2016-01-22 23:45:58 +00:00
|
|
|
bool m_dualLayer;
|
2016-01-22 02:30:17 +00:00
|
|
|
public:
|
2016-01-22 23:45:58 +00:00
|
|
|
DiscBuilderWii(const SystemChar* outPath, const char gameID[6], const char* gameTitle, bool dualLayer,
|
2016-01-22 02:30:17 +00:00
|
|
|
std::function<void(size_t, const SystemString&, size_t)> progressCB);
|
2016-01-25 02:00:02 +00:00
|
|
|
bool buildFromDirectory(const SystemChar* dirIn,
|
|
|
|
const SystemChar* dolIn,
|
|
|
|
const SystemChar* apploaderIn,
|
|
|
|
const SystemChar* partHeadIn);
|
2015-06-26 19:30:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __NOD_DISC_WII__
|