mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
Various formatting and consistency fixes
This commit is contained in:
parent
5fb94230cd
commit
b25e1a2eb4
61 changed files with 143 additions and 178 deletions
|
@ -62,9 +62,7 @@ GameListItem::GameListItem(const std::string& _rFileName)
|
|||
if (!DiscIO::IsVolumeWadFile(pVolume))
|
||||
m_Platform = DiscIO::IsVolumeWiiDisc(pVolume) ? WII_DISC : GAMECUBE_DISC;
|
||||
else
|
||||
{
|
||||
m_Platform = WII_WAD;
|
||||
}
|
||||
|
||||
m_volume_names = pVolume->GetNames();
|
||||
|
||||
|
@ -165,9 +163,7 @@ bool GameListItem::LoadFromCache()
|
|||
void GameListItem::SaveToCache()
|
||||
{
|
||||
if (!File::IsDirectory(File::GetUserPath(D_CACHE_IDX)))
|
||||
{
|
||||
File::CreateDir(File::GetUserPath(D_CACHE_IDX));
|
||||
}
|
||||
|
||||
CChunkFileReader::Save<GameListItem>(CreateCacheFilename(), CACHE_REVISION, *this);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue