Skip to content

Commit

Permalink
support for 2018.4 LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
mukaschultze committed Oct 6, 2019
1 parent 5b4010c commit 7ac172c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dark-skin/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public static class Program {
try {
using(var file = File.OpenRead(unity)) {
var buffer = new byte[0x80]; // This should be enough to reach the "ret" op
var buffer = new byte[0x80 * 5]; // This should be enough to reach the "ret" op
file.Seek(addr, SeekOrigin.Begin);
file.Read(buffer, 0, buffer.Length);
Expand Down
2 changes: 2 additions & 0 deletions dark-skin/UnitySkin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ public class UnitySkin {
public static readonly string[] WHITE_HEX = new [] {
"84 C0 75 08 33 C0 48 83 C4 20 5B C3 8B 03 48 83 C4 20 5B C3", // <= 2018.2
"84 C0 75 08 33 C0 48 83 C4 30 5B C3 8B 03 48 83 C4 30 5B C3", // == 2018.3
"84 FF 74 04 33 C0 EB 02 8B 03", // 2018.4 LTS
"84 DB 74 04 33 C0 EB 02 8B 07", // == 2019.1
"75 15 33 C0 EB 13 90 49 FF C0 42 80 3C 03 00" // >= 2019.2
};
public static readonly string[] DARK_HEX = new [] {
"84 C0 74 08 33 C0 48 83 C4 20 5B C3 8B 03 48 83 C4 20 5B C3", // <= 2018.2
"84 C0 74 08 33 C0 48 83 C4 30 5B C3 8B 03 48 83 C4 30 5B C3", // == 2018.3
"84 FF 75 04 33 C0 EB 02 8B 03", // 2018.4 LTS
"84 DB 75 04 33 C0 EB 02 8B 07", // == 2019.1
"74 15 33 C0 EB 13 90 49 FF C0 42 80 3C 03 00", // >= 2019.2
};
Expand Down

0 comments on commit 7ac172c

Please sign in to comment.