Browse Source

Added a few comments to explain myself

pull/1/head
Anairkoen Schno 5 years ago
parent
commit
0bb0aee3d1
3 changed files with 5 additions and 4 deletions
  1. +1
    -1
      Doorstop
  2. +4
    -3
      IPA.Injector/Injector.cs
  3. BIN
      Refs/UnityEngine.CoreModule.dll

+ 1
- 1
Doorstop

@ -1 +1 @@
Subproject commit 329be6d1d48cc1e8541a8eb2a54d893998806f22
Subproject commit 7aa5cc6ca43336207a4caeef8b41cfec306bd423

+ 4
- 3
IPA.Injector/Injector.cs View File

@ -54,13 +54,14 @@ namespace IPA.Injector
SelfConfig.Set();
loader.Debug("Prepping bootstrapper");
// The whole mess that follows is an attempt to work around Mono failing to
// call the library load routine for Mono.Cecil when the debugger is attached.
bool runProperly = false;
while (!runProperly) // retry until it finishes, or errors
try
{
try // TODO: fix this mess
{ // currently it gets stuck in an infinite loop because Mono refuses
// to use Mono.Cecil even if it is loaded when the debugger is attached.
InstallBootstrapPatch();
runProperly = true;
}


BIN
Refs/UnityEngine.CoreModule.dll View File


Loading…
Cancel
Save