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

@ -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();