Skip to content

Commit bfc5946

Browse files
committed
Fix command line options for WoW32 renderdoccmd global hook
1 parent 594c8cc commit bfc5946

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

renderdoc/os/win32/win32_process.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1480,8 +1480,10 @@ bool Process::StartGlobalHook(const char *pathmatch, const char *logfile, const
14801480
// repeat the process for the Wow32 renderdoccmd
14811481
#if ENABLED(RDOC_X64)
14821482
_snwprintf_s(paramsAlloc, 2047, 2047,
1483-
L"\"%ls\" globalhook --match \"%ls\" --log \"%ls\" --capopts \"%hs\"",
1484-
cmdpathWow32.c_str(), wpathmatch.c_str(), wlogfile.c_str(), optstr.c_str());
1483+
L"\"%ls\" globalhook --match \"%ls\" --logfile \"%ls\" --debuglog \"%ls\" "
1484+
L"--capopts \"%hs\"",
1485+
cmdpathWow32.c_str(), wpathmatch.c_str(), wlogfile.c_str(), wdebugLogfile.c_str(),
1486+
optstr.c_str());
14851487

14861488
paramsAlloc[2047] = 0;
14871489

0 commit comments

Comments
 (0)