mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 21:30:19 -06:00
Make sure a few more directories exist when needed. Most package builders (including cmake/cpack) do not install the empty directories in the shared data, and so the paths need to be created at runtime.
Also set up cmake/cpack to create prebuilt binary packages and source packages. Also change the vertex shader dump file name in the gfx debugger to something that makes more sense. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6587 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -83,6 +83,8 @@ std::string CSharedContent::AddSharedContent(u8* _pHash)
|
||||
memcpy(Element.FileName, c_ID, 8);
|
||||
memcpy(Element.SHA1Hash, _pHash, 20);
|
||||
m_Elements.push_back(Element);
|
||||
|
||||
File::CreateFullPath(contentMap);
|
||||
FILE* pFile = fopen(contentMap, "ab");
|
||||
if (pFile)
|
||||
{
|
||||
@ -403,6 +405,7 @@ cUIDsys::cUIDsys()
|
||||
*(u64*)&(Element.titleID) = Common::swap64(TITLEID_SYSMENU);
|
||||
*(u32*)&(Element.UID) = Common::swap32(lastUID++);
|
||||
|
||||
File::CreateFullPath(uidSys);
|
||||
FILE* pFile = fopen(uidSys, "wb");
|
||||
if (pFile)
|
||||
{
|
||||
@ -438,6 +441,8 @@ bool cUIDsys::AddTitle(u64 _TitleID)
|
||||
*(u64*)&(Element.titleID) = Common::swap64(_TitleID);
|
||||
*(u32*)&(Element.UID) = Common::swap32(lastUID++);
|
||||
m_Elements.push_back(Element);
|
||||
|
||||
File::CreateFullPath(uidSys);
|
||||
FILE* pFile = fopen(uidSys, "ab");
|
||||
if (pFile)
|
||||
{
|
||||
|
Reference in New Issue
Block a user