2015-05-24 07:55:12 +03:00
|
|
|
// Copyright 2008 Dolphin Emulator Project
|
2015-05-18 02:08:10 +03:00
|
|
|
// Licensed under GPLv2+
|
2013-04-18 06:09:55 +03:00
|
|
|
// Refer to the license.txt file included.
|
2008-12-08 06:46:09 +02:00
|
|
|
|
2014-02-10 20:54:46 +02:00
|
|
|
#pragma once
|
2008-12-08 06:46:09 +02:00
|
|
|
|
2015-12-07 06:15:51 +02:00
|
|
|
#include <memory>
|
2014-02-21 02:47:53 +02:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "Common/CommonTypes.h"
|
2008-12-08 06:46:09 +02:00
|
|
|
|
|
|
|
namespace DiscIO
|
|
|
|
{
|
2014-02-21 02:47:53 +02:00
|
|
|
|
|
|
|
class IVolume;
|
2014-05-29 13:38:39 +03:00
|
|
|
class IBlobReader;
|
2014-02-21 02:47:53 +02:00
|
|
|
|
2015-12-07 06:15:51 +02:00
|
|
|
std::unique_ptr<IVolume> CreateVolumeFromFilename(const std::string& filename, u32 partition_group = 0, u32 volume_number = -1);
|
|
|
|
std::unique_ptr<IVolume> CreateVolumeFromDirectory(const std::string& directory, bool is_wii, const std::string& apploader = "", const std::string& dol = "");
|
2015-09-01 02:30:32 +03:00
|
|
|
void VolumeKeyForPartition(IBlobReader& _rReader, u64 offset, u8* VolumeKey);
|
2014-02-21 02:47:53 +02:00
|
|
|
|
2008-12-08 06:46:09 +02:00
|
|
|
} // namespace
|