diff options
| author | 2019-02-23 19:42:00 +0200 | |
|---|---|---|
| committer | 2019-02-23 19:42:00 +0200 | |
| commit | bb20ce047a2e20866b9532c441c7433b1973ba5b (patch) | |
| tree | ed9f5bd596e43a1fffeef0b174c5370c039a9b62 /src/main/java/cuchaz/enigma/CommandMain.java | |
| parent | Tweak inheritance and implementation tree generation (diff) | |
| download | enigma-fork-bb20ce047a2e20866b9532c441c7433b1973ba5b.tar.gz enigma-fork-bb20ce047a2e20866b9532c441c7433b1973ba5b.tar.xz enigma-fork-bb20ce047a2e20866b9532c441c7433b1973ba5b.zip | |
Fix #110 and remap indices with matched bridge method names
Diffstat (limited to 'src/main/java/cuchaz/enigma/CommandMain.java')
| -rw-r--r-- | src/main/java/cuchaz/enigma/CommandMain.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/cuchaz/enigma/CommandMain.java b/src/main/java/cuchaz/enigma/CommandMain.java index 7c0a3d5..c9f8382 100644 --- a/src/main/java/cuchaz/enigma/CommandMain.java +++ b/src/main/java/cuchaz/enigma/CommandMain.java | |||
| @@ -74,7 +74,7 @@ public class CommandMain { | |||
| 74 | Deobfuscator deobfuscator = new Deobfuscator(jar); | 74 | Deobfuscator deobfuscator = new Deobfuscator(jar); |
| 75 | if (fileMappings != null) { | 75 | if (fileMappings != null) { |
| 76 | System.out.println("Reading mappings..."); | 76 | System.out.println("Reading mappings..."); |
| 77 | EntryTree<EntryMapping> mappings = chooseEnigmaFormat(fileMappings).read(fileMappings); | 77 | EntryTree<EntryMapping> mappings = chooseEnigmaFormat(fileMappings).read(fileMappings, new ConsoleProgressListener()); |
| 78 | deobfuscator.setMappings(mappings); | 78 | deobfuscator.setMappings(mappings); |
| 79 | } | 79 | } |
| 80 | return deobfuscator; | 80 | return deobfuscator; |
| @@ -94,7 +94,7 @@ public class CommandMain { | |||
| 94 | System.out.println("Reading mappings..."); | 94 | System.out.println("Reading mappings..."); |
| 95 | 95 | ||
| 96 | MappingFormat readFormat = chooseEnigmaFormat(fileMappings); | 96 | MappingFormat readFormat = chooseEnigmaFormat(fileMappings); |
| 97 | EntryTree<EntryMapping> mappings = readFormat.read(fileMappings); | 97 | EntryTree<EntryMapping> mappings = readFormat.read(fileMappings, new ConsoleProgressListener()); |
| 98 | System.out.println("Saving new mappings..."); | 98 | System.out.println("Saving new mappings..."); |
| 99 | 99 | ||
| 100 | saveFormat.write(mappings, result.toPath(), new ConsoleProgressListener()); | 100 | saveFormat.write(mappings, result.toPath(), new ConsoleProgressListener()); |