diff options
| author | 2016-08-24 01:59:26 +0200 | |
|---|---|---|
| committer | 2016-08-24 01:59:26 +0200 | |
| commit | 6e9934a442394a9d0a81404c7480b8001939d92b (patch) | |
| tree | 28252cd87aae33ccc2da9f7c83dcf63db2f45578 /src/main/java/cuchaz/enigma/gui/GuiController.java | |
| parent | Revert Main.java (diff) | |
| download | enigma-fork-6e9934a442394a9d0a81404c7480b8001939d92b.tar.gz enigma-fork-6e9934a442394a9d0a81404c7480b8001939d92b.tar.xz enigma-fork-6e9934a442394a9d0a81404c7480b8001939d92b.zip | |
Add mapping converter to command line system
Diffstat (limited to 'src/main/java/cuchaz/enigma/gui/GuiController.java')
| -rw-r--r-- | src/main/java/cuchaz/enigma/gui/GuiController.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/cuchaz/enigma/gui/GuiController.java b/src/main/java/cuchaz/enigma/gui/GuiController.java index 4d428ac..d6c170b 100644 --- a/src/main/java/cuchaz/enigma/gui/GuiController.java +++ b/src/main/java/cuchaz/enigma/gui/GuiController.java | |||
| @@ -84,12 +84,12 @@ public class GuiController { | |||
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | public void saveEnigmaMappings(File file, boolean isDirectoryFormat) throws IOException { | 86 | public void saveEnigmaMappings(File file, boolean isDirectoryFormat) throws IOException { |
| 87 | new MappingsEnigmaWriter().write(file, this.deobfuscator.getMappings(), isDirectoryFormat); | 87 | this.deobfuscator.getMappings().saveEnigmaMappings(file, isDirectoryFormat); |
| 88 | this.isDirty = false; | 88 | this.isDirty = false; |
| 89 | } | 89 | } |
| 90 | 90 | ||
| 91 | public void saveSRGMappings(File file) throws IOException { | 91 | public void saveSRGMappings(File file) throws IOException { |
| 92 | new MappingsSRGWriter().write(file, this.deobfuscator); | 92 | this.deobfuscator.getMappings().saveSRGMappings(file); |
| 93 | this.isDirty = false; | 93 | this.isDirty = false; |
| 94 | } | 94 | } |
| 95 | 95 | ||