- More ImRaii

- Cleanup
- Spanish, French, Dutch, Chinese loc update
This commit is contained in:
Infi
2024-11-21 11:58:22 +01:00
parent 1a1995759a
commit 3cfe65d2d4
23 changed files with 283 additions and 332 deletions
+2 -1
View File
@@ -12,6 +12,7 @@ public static class GlobalParametersCache
{
if (index < 0 || index >= Cache.Length)
return 0;
return Cache[index];
}
@@ -31,9 +32,9 @@ public static class GlobalParametersCache
return;
ref var gp = ref rtm->TextModule.MacroDecoder.GlobalParameters;
if (Cache.Length != (int)gp.MySize)
Cache = new int[gp.MySize];
for (ulong i = 0; i < gp.MySize; i++)
{
var p = gp[(long)i];