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:
Glenn Rice
2010-12-15 14:47:13 +00:00
parent 02a38baf7c
commit 77837b8034
3 changed files with 11 additions and 1 deletions

View File

@ -126,7 +126,7 @@ void GFXDebuggerBase::DumpPixelShader(const char* path)
void GFXDebuggerBase::DumpVertexShader(const char* path)
{
char filename[MAX_PATH];
sprintf(filename, "%sdump_vs_consts.txt", path);
sprintf(filename, "%sdump_vs.txt", path);
File::CreateEmptyFile(filename);
File::WriteStringToFile(true, GenerateVertexShaderCode(g_nativeVertexFmt->m_components, g_ActiveConfig.backend_info.APIType), filename);