Skip to content

Commit

Permalink
Assign name to Unk1F (Presentation, ByteOrder)
Browse files Browse the repository at this point in the history
  • Loading branch information
jglim committed Oct 20, 2021
1 parent 33cb10a commit c9ec0d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Caesar/Caesar/DiagPresentation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class DiagPresentation
public int Type_1C;
public int Unk1d;
public int SignBit; // discovered by @prj : #37
public int Unk1F;
public int ByteOrder; // discovered by @prj : #37 ; Unset = HiLo, 1 = LoHi
public int Unk20;

public int TypeLengthBytesMaybe_21;
Expand Down Expand Up @@ -131,7 +131,7 @@ public DiagPresentation(BinaryReader reader, long baseAddress, int presentations

Unk1d = CaesarReader.ReadBitflagInt8(ref bitflags, reader);
SignBit = CaesarReader.ReadBitflagInt8(ref bitflags, reader);
Unk1F = CaesarReader.ReadBitflagInt8(ref bitflags, reader);
ByteOrder = CaesarReader.ReadBitflagInt8(ref bitflags, reader);
Unk20 = CaesarReader.ReadBitflagInt32(ref bitflags, reader);

bitflags = extendedBitflags;
Expand Down Expand Up @@ -451,7 +451,7 @@ public void PrintDebug()

Console.WriteLine($"{nameof(Unk1d)}: {Unk1d}");
Console.WriteLine($"{nameof(SignBit)}: {SignBit}");
Console.WriteLine($"{nameof(Unk1F)}: {Unk1F}");
Console.WriteLine($"{nameof(ByteOrder)}: {ByteOrder}");
Console.WriteLine($"{nameof(Unk20)}: {Unk20}");

Console.WriteLine($"{nameof(TypeLengthBytesMaybe_21)}: {TypeLengthBytesMaybe_21}");
Expand Down Expand Up @@ -507,7 +507,7 @@ public string CopyMinDebug()
sb.Append($" {nameof(InternalDataType)}: {InternalDataType}");
sb.Append($" {nameof(Unk1d)}: {Unk1d}");
sb.Append($" {nameof(SignBit)}: {SignBit}");
sb.Append($" {nameof(Unk1F)}: {Unk1F}");
sb.Append($" {nameof(ByteOrder)}: {ByteOrder}");
sb.Append($" {nameof(Unk20)}: {Unk20}");
sb.Append($" {nameof(TypeLengthBytesMaybe_21)}: {TypeLengthBytesMaybe_21}");
sb.Append($" {nameof(Unk22)}: {Unk22}");
Expand Down

0 comments on commit c9ec0d2

Please sign in to comment.