We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75a84fa commit ed6fb1bCopy full SHA for ed6fb1b
1 file changed
TACTSharp/Listfile.cs
@@ -146,6 +146,12 @@ public uint GetFDID(string name)
146
return nameHashToFDID.TryGetValue(hasher.ComputeHash(name, true), out var fdid) ? fdid : 0;
147
}
148
149
+ public void SetListfileEntry(uint fdid, string name)
150
+ {
151
+ nameHashToFDID[hasher.ComputeHash(name, true)] = fdid;
152
+ fdidToName[fdid] = name;
153
+ }
154
+
155
public string? GetFilename(uint fdid)
156
{
157
if (fdidToName.Count == 0)
0 commit comments