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