add AR code translator shell

This commit is contained in:
Martin Michelsen
2023-11-18 21:33:45 -08:00
parent dd5873266d
commit 5499d29cc2
8 changed files with 185 additions and 7 deletions
+3 -3
View File
@@ -70,15 +70,15 @@ struct FunctionCodeIndex {
};
struct DOLFileIndex {
struct DOLFile {
struct File {
uint32_t menu_item_id;
std::string name;
std::string data;
bool is_compressed;
};
std::vector<std::shared_ptr<DOLFile>> item_id_to_file;
std::unordered_map<std::string, std::shared_ptr<DOLFile>> name_to_file;
std::vector<std::shared_ptr<File>> item_id_to_file;
std::unordered_map<std::string, std::shared_ptr<File>> name_to_file;
std::shared_ptr<const Menu> menu;
DOLFileIndex() = default;