From ec65da1fbc93bd4fcdbdf20cb41c085ece53473c Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 18 Jul 2018 11:47:03 +0200 Subject: monogame-patcher: Allow specifying extra assembly If we want to replace a call with one that's not in a module which is currently referenced by the target file we now have another command line flag for replace-call (-a) where we can specify the additional DLL file. Signed-off-by: aszlig --- pkgs/games/build-support/monogame-patcher/src/options.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkgs/games/build-support/monogame-patcher/src/options.cs') diff --git a/pkgs/games/build-support/monogame-patcher/src/options.cs b/pkgs/games/build-support/monogame-patcher/src/options.cs index 32a8403e..73add8d6 100644 --- a/pkgs/games/build-support/monogame-patcher/src/options.cs +++ b/pkgs/games/build-support/monogame-patcher/src/options.cs @@ -27,4 +27,8 @@ class ReplaceCallCmd : GenericOptions { [Value(2, Required=true, MetaName = "type", HelpText = "Types to patch.")] public IEnumerable typesToPatch { get; set; } + + [Option('a', "assembly", + HelpText="Look up replacement from the specified assembly.")] + public string assemblyFile { get; set; } }; -- cgit 1.4.1