mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Migration to the new dir struct (in code only!, no deletion of old dirs...yet). VS projects copy Data/* to Binary/<arch>. Added SConscript to some projects where it was missing. This is the time to move over all your files!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1140 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -139,9 +139,9 @@ bool GameListItem::LoadFromCache()
|
||||
|
||||
void GameListItem::SaveToCache()
|
||||
{
|
||||
if (!File::IsDirectory("ISOCache"))
|
||||
if (!File::IsDirectory(FULL_CACHE_DIR))
|
||||
{
|
||||
File::CreateDir("ISOCache");
|
||||
File::CreateDir(FULL_CACHE_DIR);
|
||||
}
|
||||
|
||||
CChunkFileReader::Save<GameListItem>(CreateCacheFilename(), CACHE_REVISION, *this);
|
||||
@ -166,7 +166,7 @@ std::string GameListItem::CreateCacheFilename()
|
||||
SplitPath(m_FileName, NULL, &Filename, NULL);
|
||||
Filename.append(".cache");
|
||||
|
||||
std::string fullname("ISOCache\\");
|
||||
std::string fullname(FULL_CACHE_DIR "\\");
|
||||
fullname += Filename;
|
||||
return fullname;
|
||||
}
|
||||
|
Reference in New Issue
Block a user