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
469
469
if (custom_dir != nullptr && strlen (custom_dir) > 0 )
470
470
{
471
471
dumpPath = custom_dir;
472
+ dumpPath += " /" ;
472
473
}
473
474
474
475
char pathBuf[256 ];
@@ -580,7 +581,7 @@ namespace IGC
580
581
}
581
582
582
583
char path[MAX_PATH] = { 0 };
583
- bool pidEnabled = IGC_IS_FLAG_ENABLED (ShaderDumpPidDisable);
584
+ bool pidEnabled = IGC_IS_FLAG_DISABLED (ShaderDumpPidDisable);
584
585
585
586
if (needMkdir)
586
587
{
Original file line number Diff line number Diff line change @@ -339,6 +339,7 @@ namespace FCL
339
339
FCLReadIGCRegistry (" DumpToCustomDir" , custom_dir, sizeof (custom_dir));
340
340
if (strlen (custom_dir) > 0 && (found == std::string::npos))
341
341
{
342
+ strcat (custom_dir, " /" );
342
343
dumpPath = custom_dir;
343
344
}
344
345
else
@@ -421,7 +422,7 @@ namespace FCL
421
422
bool needMkdir = true ;
422
423
423
424
char path[MAX_PATH] = { 0 };
424
- bool pidEnabled = FCL_IGC_IS_FLAG_ENABLED (ShaderDumpPidDisable);
425
+ bool pidEnabled = ! FCL_IGC_IS_FLAG_ENABLED (ShaderDumpPidDisable);
425
426
426
427
if (needMkdir)
427
428
{
You can’t perform that action at this time.
0 commit comments