Skip to content

Commit

Permalink
Fix marking IGC debug registry keys as set
Browse files Browse the repository at this point in the history
The varaible was not marked as "set" when the value was set using
the IGC debug API calls.
  • Loading branch information
mmerecki authored and igcbot committed Nov 14, 2024
1 parent bc6ef62 commit 4c721ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions IGC/AdaptorCommon/customApi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ namespace IGC
if (!strcmp(flagName, name))
{
pRegKeyVariable[i].m_Value = value;
pRegKeyVariable[i].Set();
break;
}
}
Expand All @@ -256,6 +257,7 @@ namespace IGC
if (!strcmp(flagName, name))
{
strcpy_s(pRegKeyVariable[i].m_string,sizeof(debugString), s);
pRegKeyVariable[i].Set();
break;
}
}
Expand Down

0 comments on commit 4c721ce

Please sign in to comment.