mirror of
https://github.com/Dark98/threeSD.git
synced 2026-07-03 16:49:04 +00:00
misc changes
- Add dumper script - Fill importer code - other fixes
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -58,6 +58,7 @@ using AESKey = std::array<u8, AES_BLOCK_SIZE>;
|
||||
|
||||
void LoadBootromKeys(const std::string& path);
|
||||
void LoadMovableSedKeys(const std::string& path);
|
||||
void ClearKeys();
|
||||
|
||||
void SetKeyX(std::size_t slot_id, const AESKey& key);
|
||||
void SetKeyY(std::size_t slot_id, const AESKey& key);
|
||||
|
||||
Reference in New Issue
Block a user