DiscIO: Remove C/I/S prefixes from class names

These prefixes were inconsistent with the rest of Dolphin.

I'm also renaming VolumeWiiCrypted to VolumeWii because of 1113b13.
This commit is contained in:
JosJuice
2017-06-06 11:49:01 +02:00
parent 1113b131f2
commit b2af07a7b7
64 changed files with 394 additions and 398 deletions

View File

@ -168,7 +168,7 @@ void InfoWidget::ComputeChecksum()
{
QCryptographicHash hash(QCryptographicHash::Md5);
hash.reset();
std::unique_ptr<DiscIO::IBlobReader> file(
std::unique_ptr<DiscIO::BlobReader> file(
DiscIO::CreateBlobReader(m_game.GetFilePath().toStdString()));
std::vector<u8> file_data(8 * 1080 * 1080); // read 1MB at a time
u64 game_size = file->GetDataSize();

View File

@ -84,7 +84,7 @@ QString GameFile::GetCacheFileName() const
return folder + m_file_name + hash;
}
void GameFile::ReadBanner(const DiscIO::IVolume& volume)
void GameFile::ReadBanner(const DiscIO::Volume& volume)
{
int width, height;
std::vector<u32> buffer = volume.GetBanner(&width, &height);
@ -154,7 +154,7 @@ bool GameFile::TryLoadCache()
bool GameFile::TryLoadVolume()
{
QSharedPointer<DiscIO::IVolume> volume(
QSharedPointer<DiscIO::Volume> volume(
DiscIO::CreateVolumeFromFilename(m_path.toStdString()).release());
if (volume == nullptr)
return false;

View File

@ -18,7 +18,7 @@ enum class Country;
enum class Language;
enum class Region;
enum class Platform;
class IVolume;
class Volume;
}
// TODO cache
@ -76,7 +76,7 @@ private:
QString GetBannerString(const QMap<DiscIO::Language, QString>& m) const;
QString GetCacheFileName() const;
void ReadBanner(const DiscIO::IVolume& volume);
void ReadBanner(const DiscIO::Volume& volume);
bool LoadFileInfo(const QString& path);
void LoadState();
bool IsElfOrDol();