misc changes

- Add dumper script
- Fill importer code
- other fixes
This commit is contained in:
zhupengfei
2019-08-26 23:20:02 +08:00
parent 4f5a3effd8
commit d612b9cf37
9 changed files with 340 additions and 22 deletions
+5
View File
@@ -186,6 +186,11 @@ void LoadMovableSedKeys(const std::string& path) {
SetKeyY(0x26, key);
}
void ClearKeys() {
key_slots = {};
common_key_y_slots = {};
}
void SetKeyX(std::size_t slot_id, const AESKey& key) {
key_slots.at(slot_id).SetKeyX(key);
}