2015-05-24 04:55:12 +00:00
|
|
|
// Copyright 2008 Dolphin Emulator Project
|
2015-05-17 23:08:10 +00:00
|
|
|
// Licensed under GPLv2+
|
2013-04-18 03:09:55 +00:00
|
|
|
// Refer to the license.txt file included.
|
2008-12-08 04:46:09 +00:00
|
|
|
|
2014-02-10 18:54:46 +00:00
|
|
|
#pragma once
|
2008-12-08 04:46:09 +00:00
|
|
|
|
2015-12-07 04:15:51 +00:00
|
|
|
#include <memory>
|
2014-02-21 00:47:53 +00:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "Common/CommonTypes.h"
|
2008-12-08 04:46:09 +00:00
|
|
|
|
|
|
|
namespace DiscIO
|
|
|
|
{
|
2014-02-21 00:47:53 +00:00
|
|
|
class IVolume;
|
2014-05-29 10:38:39 +00:00
|
|
|
class IBlobReader;
|
2014-02-21 00:47:53 +00:00
|
|
|
|
2016-06-24 08:43:46 +00: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-08-31 23:30:32 +00:00
|
|
|
void VolumeKeyForPartition(IBlobReader& _rReader, u64 offset, u8* VolumeKey);
|
2014-02-21 00:47:53 +00:00
|
|
|
|
2016-06-24 08:43:46 +00:00
|
|
|
} // namespace
|