Skip to content

Commit

Permalink
style: format code with dotnet-format
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in a66639d according to the output
from dotnet-format.

Details: None
  • Loading branch information
deepsource-autofix[bot] authored Dec 26, 2024
1 parent a66639d commit 0d21bbb
Show file tree
Hide file tree
Showing 8 changed files with 1,685 additions and 1,684 deletions.
11 changes: 6 additions & 5 deletions VBLauncher/Classes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1730,7 +1730,7 @@ public struct rect
public int x2;
public int y2;
}

public struct fragment
{
public int width;
Expand All @@ -1751,7 +1751,7 @@ public struct obj

public string name = "";
public List<obj> objects = [];

public INT(byte[] b)
{
var ms = new MemoryStream();
Expand All @@ -1761,9 +1761,9 @@ public INT(byte[] b)

// TODO: implement two font logic (uncertain my ImHex pattern handles properly)
// var twofont = false;

// any reads not marked with a comment are unknown values that may be stored later (assumed type)

br.ReadBytes(7); // header, ignore
var revision = br.ReadByte() - 0x30; // 0x30 to convert ASCII to int
var name_length = br.ReadInt32();
Expand All @@ -1776,7 +1776,8 @@ public INT(byte[] b)
obj.magic = br.ReadInt32();
if (obj.magic == 1)
{
if (revision == 3) {
if (revision == 3)
{
// i have not researched this bit of data
br.ReadBytes(5);
var s1 = br.ReadInt32();
Expand Down
Loading

0 comments on commit 0d21bbb

Please sign in to comment.