mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-08 05:11:32 +00:00
Cleaned up renderdoccmd, split out necessary bits to OS-specific files
This commit is contained in:
1 parent
772fd94336
commit
0f080d1f44
8 files changed
+713
-624
No files matched your search
@@ -92,7 +92,7 @@ class CrashHandler : public ICrashHandler
|
||||
|
||||
wstring cmdline = L"\"";
|
||||
cmdline += radpath;
|
||||
cmdline += L"/renderdoccmd.exe\" crashhandle";
|
||||
cmdline += L"/renderdoccmd.exe\" --crashhandle";
|
||||
|
||||
wchar_t *paramsAlloc = new wchar_t[512];
|
||||
|
||||
|
||||
@@ -249,7 +249,7 @@ uint32_t Process::InjectIntoProcess(uint32_t pid, const wchar_t *logfile, const
|
||||
|
||||
string optstr = opts->ToString();
|
||||
|
||||
_snwprintf_s(paramsAlloc, 255, 255, L"\"%ls\" -cap32for64 %d \"%ls\" \"%hs\"", renderdocPath, pid, logfile, optstr.c_str());
|
||||
_snwprintf_s(paramsAlloc, 255, 255, L"\"%ls\" --cap32for64 %d \"%ls\" \"%hs\"", renderdocPath, pid, logfile, optstr.c_str());
|
||||
|
||||
BOOL retValue = CreateProcessW(NULL, paramsAlloc, &pSec, &tSec, false, CREATE_SUSPENDED, NULL, NULL, &si, &pi);
|
||||
|
||||
|
||||
Reference in new issue
Block a user