Skip to content

Commit 4c721ce

Browse files
mmereckiigcbot
authored andcommitted
Fix marking IGC debug registry keys as set
The varaible was not marked as "set" when the value was set using the IGC debug API calls.
1 parent bc6ef62 commit 4c721ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

IGC/AdaptorCommon/customApi.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ namespace IGC
235235
if (!strcmp(flagName, name))
236236
{
237237
pRegKeyVariable[i].m_Value = value;
238+
pRegKeyVariable[i].Set();
238239
break;
239240
}
240241
}
@@ -256,6 +257,7 @@ namespace IGC
256257
if (!strcmp(flagName, name))
257258
{
258259
strcpy_s(pRegKeyVariable[i].m_string,sizeof(debugString), s);
260+
pRegKeyVariable[i].Set();
259261
break;
260262
}
261263
}

0 commit comments

Comments
 (0)