fix(D.5.1): toolbar digit-array log reports post-fallback final state (review)
This commit is contained in:
parent
b2a812d1fa
commit
7d5a88cd15
1 changed files with 2 additions and 3 deletions
|
|
@ -1948,9 +1948,6 @@ public sealed class GameWindow : IDisposable
|
||||||
if (arrWar.Value[i] is DatReaderWriter.Types.DataIdBaseProperty d)
|
if (arrWar.Value[i] is DatReaderWriter.Types.DataIdBaseProperty d)
|
||||||
toolbarWarDigits[i] = d.Value;
|
toolbarWarDigits[i] = d.Value;
|
||||||
}
|
}
|
||||||
Console.WriteLine(toolbarPeaceDigits is not null
|
|
||||||
? $"[D.5.1] digit arrays loaded: peace={toolbarPeaceDigits.Length}, war={toolbarWarDigits?.Length ?? 0} entries."
|
|
||||||
: "[D.5.1] digit arrays: property 0x10000042 not found in element 0x1000034A — falling back to cited constants.");
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
@ -1968,6 +1965,8 @@ public sealed class GameWindow : IDisposable
|
||||||
toolbarWarDigits = new uint[]
|
toolbarWarDigits = new uint[]
|
||||||
{ 0x06001ACCu, 0x06001ACDu, 0x06001ACEu, 0x06001ACFu, 0x06001AD0u,
|
{ 0x06001ACCu, 0x06001ACDu, 0x06001ACEu, 0x06001ACFu, 0x06001AD0u,
|
||||||
0x06001AD1u, 0x06001AD2u, 0x06001AD3u, 0x06001AD4u };
|
0x06001AD1u, 0x06001AD2u, 0x06001AD3u, 0x06001AD4u };
|
||||||
|
// Report the arrays actually used (after any fallback substitution).
|
||||||
|
Console.WriteLine($"[D.5.1] toolbar digit arrays ready: peace={toolbarPeaceDigits.Length}, war={toolbarWarDigits.Length} entries.");
|
||||||
|
|
||||||
AcDream.App.UI.Layout.ImportedLayout? toolbarLayout;
|
AcDream.App.UI.Layout.ImportedLayout? toolbarLayout;
|
||||||
lock (_datLock)
|
lock (_datLock)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue