Skip to content

Commit

Permalink
More rules for --relink-only
Browse files Browse the repository at this point in the history
  • Loading branch information
flibitijibibo committed Oct 5, 2018
1 parent 93c1919 commit 678f847
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ public static void Main(string[] args) {
xtf.HookBinaryFormatter = false;
xtf.HookReflection = false;
xtf.AddAssemblyReference = false;
xtf.PatchXNB = false;
xtf.PatchXACT = false;
xtf.PreferredPlatform = ILPlatform.x86;

}

Expand Down

2 comments on commit 678f847

@flibitijibibo
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@0x0ade Totally did not realize I had write access to this repo, didn't mean to do that! But yeah, adding these to make Proton use a little easier.

@0x0ade
Copy link
Owner

@0x0ade 0x0ade commented on 678f847 Oct 5, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've just seen the rest of the mails / notifications. Will definitely get to them when I get back home on Sunday, maybe Monday.

By the way, those should only be used when this runs:

XnaToFna/src/Program.cs

Lines 136 to 146 in 678f847

if (updateContent) {
xtf.LoadModules();
// Free the heap from the disassembled modules.
xtf.Modules.Clear();
xtf.ModulesToStub.Clear();
FNAHooks.Hook();
xtf.UpdateContent();
}

updateContent is set to false when --relink-only is set.

Please # to comment.