mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00: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:
parent
8c7d7a6c36
commit
f7cb34f1e0
30 changed files with 218 additions and 126 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue