File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -469,6 +469,7 @@ namespace IGC
469469 if (custom_dir != nullptr && strlen (custom_dir) > 0 )
470470 {
471471 dumpPath = custom_dir;
472+ dumpPath += " /" ;
472473 }
473474
474475 char pathBuf[256 ];
@@ -580,7 +581,7 @@ namespace IGC
580581 }
581582
582583 char path[MAX_PATH] = { 0 };
583- bool pidEnabled = IGC_IS_FLAG_ENABLED (ShaderDumpPidDisable);
584+ bool pidEnabled = IGC_IS_FLAG_DISABLED (ShaderDumpPidDisable);
584585
585586 if (needMkdir)
586587 {
Original file line number Diff line number Diff line change @@ -339,6 +339,7 @@ namespace FCL
339339 FCLReadIGCRegistry (" DumpToCustomDir" , custom_dir, sizeof (custom_dir));
340340 if (strlen (custom_dir) > 0 && (found == std::string::npos))
341341 {
342+ strcat (custom_dir, " /" );
342343 dumpPath = custom_dir;
343344 }
344345 else
@@ -421,7 +422,7 @@ namespace FCL
421422 bool needMkdir = true ;
422423
423424 char path[MAX_PATH] = { 0 };
424- bool pidEnabled = FCL_IGC_IS_FLAG_ENABLED (ShaderDumpPidDisable);
425+ bool pidEnabled = ! FCL_IGC_IS_FLAG_ENABLED (ShaderDumpPidDisable);
425426
426427 if (needMkdir)
427428 {
You can’t perform that action at this time.
0 commit comments