MCPcopy Create free account
hub / github.com/RevoSucks/BM64Recomp / mod_hd_textures_enabled_changed

Method mod_hd_textures_enabled_changed

src/ui/ui_mod_menu.cpp:541–550  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

539}
540
541void ModMenu::mod_hd_textures_enabled_changed(uint32_t value) {
542 if (active_mod_index >= 0) {
543 if (value) {
544 zelda64::renderer::secondary_enable_texture_pack(mod_details[active_mod_index].mod_id);
545 }
546 else {
547 zelda64::renderer::secondary_disable_texture_pack(mod_details[active_mod_index].mod_id);
548 }
549 }
550}
551
552void ModMenu::create_mod_list() {
553 ContextId context = get_current_context();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected