Compare commits
No commits in common. "50536858c8c84526e5bc70fa30261a8d861bd5f9" and "c2d7a475125677479cf9ce4eb7373c180bf55a22" have entirely different histories.
50536858c8
...
c2d7a47512
|
@ -120,8 +120,7 @@ namespace recomp {
|
||||||
std::vector<InputField> apply_menu;
|
std::vector<InputField> apply_menu;
|
||||||
};
|
};
|
||||||
|
|
||||||
inline const std::vector<InputField>& get_default_mapping_for_input(const DefaultN64Mappings& defaults, const GameInput input) {
|
constexpr const std::vector<InputField>& get_default_mapping_for_input(const DefaultN64Mappings& defaults, const GameInput input) {
|
||||||
static const std::vector<InputField> empty_input_field{};
|
|
||||||
switch (input) {
|
switch (input) {
|
||||||
case GameInput::A: return defaults.a;
|
case GameInput::A: return defaults.a;
|
||||||
case GameInput::B: return defaults.b;
|
case GameInput::B: return defaults.b;
|
||||||
|
@ -144,7 +143,7 @@ namespace recomp {
|
||||||
case GameInput::TOGGLE_MENU: return defaults.toggle_menu;
|
case GameInput::TOGGLE_MENU: return defaults.toggle_menu;
|
||||||
case GameInput::ACCEPT_MENU: return defaults.accept_menu;
|
case GameInput::ACCEPT_MENU: return defaults.accept_menu;
|
||||||
case GameInput::APPLY_MENU: return defaults.apply_menu;
|
case GameInput::APPLY_MENU: return defaults.apply_menu;
|
||||||
default: return empty_input_field;
|
default: return std::vector<InputField>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 26a05439c2215ea9e1c0b0d572b46b3584a90a4f
|
Subproject commit b9592c625d87ab45ddd12d9ad30c886ee77a5d68
|
|
@ -650,8 +650,6 @@ int main(int argc, char** argv) {
|
||||||
}
|
}
|
||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
// TODO load all mods as a temporary solution to not having a UI yet.
|
|
||||||
recomp::mods::enable_mod(mod.mod_id, true);
|
|
||||||
}
|
}
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
|
|
|
@ -8,5 +8,5 @@
|
||||||
void zelda64::register_patches() {
|
void zelda64::register_patches() {
|
||||||
recomp::overlays::register_patches(mm_patches_bin, sizeof(mm_patches_bin), section_table, ARRLEN(section_table));
|
recomp::overlays::register_patches(mm_patches_bin, sizeof(mm_patches_bin), section_table, ARRLEN(section_table));
|
||||||
recomp::overlays::register_base_exports(export_table);
|
recomp::overlays::register_base_exports(export_table);
|
||||||
recomp::overlays::register_base_events(event_names);
|
recomp::overlays::register_base_events(event_name_table);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue