summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/Src/NANDContentLoader.cpp
diff options
context:
space:
mode:
authorSoren Jorvang <soren.jorvang@gmail.com>2010-05-28 14:45:07 +0000
committerSoren Jorvang <soren.jorvang@gmail.com>2010-05-28 14:45:07 +0000
commit270fe2a99747cd30cddb7a9e292babc33b7c8549 (patch)
tree7b63700d8bc1588e506e6ea62dad1990a03a6e06 /Source/Core/DiscIO/Src/NANDContentLoader.cpp
parent6687f3e79186ce4c8edb30b4f1869cf665ac70c5 (diff)
In r5448 the CSharedContent and cUIDsys constructors create the Wii/shared1
and Wii/sys directories if they do not already exist. This conflicts with DolphinApp::OnInit (run after constructors) which populates the User tree only if there isn't already something there. Instead, set up the two directories in the Data tree. With this change, sys/uid.sys still won't be created until the _second_ run after a fresh install, so these file initializations should be moved out of constructors so that they will be run after OnInit(). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5526 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DiscIO/Src/NANDContentLoader.cpp')
-rw-r--r--Source/Core/DiscIO/Src/NANDContentLoader.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/Core/DiscIO/Src/NANDContentLoader.cpp b/Source/Core/DiscIO/Src/NANDContentLoader.cpp
index 25b48d2b3b..4b29ef594a 100644
--- a/Source/Core/DiscIO/Src/NANDContentLoader.cpp
+++ b/Source/Core/DiscIO/Src/NANDContentLoader.cpp
@@ -51,10 +51,6 @@ CSharedContent::CSharedContent()
}
fclose(pFile);
}
- else
- {
- File::CreateFullPath(contentMap);
- }
}
CSharedContent::~CSharedContent()
@@ -408,7 +404,6 @@ cUIDsys::cUIDsys()
*(u64*)&(Element.titleID) = Common::swap64(0x0000000100000002ull);
*(u32*)&(Element.UID) = Common::swap32(lastUID++);
- File::CreateFullPath(uidSys);
FILE* pFile = fopen(uidSys, "wb");
if (pFile)
{