| 52 | } |
| 53 | |
| 54 | void MainMenuLayout::DoMoveTo(const std::string &new_path) { |
| 55 | // Empty path used as a "reload" argumnet |
| 56 | if(!new_path.empty()) { |
| 57 | util::CopyToStringBuffer(g_MenuFsPathBuffer, new_path); |
| 58 | util::CopyToStringBuffer(g_MenuPathBuffer, this->cur_folder_path); |
| 59 | UL_RC_ASSERT(smi::UpdateMenuPaths(g_MenuFsPathBuffer, g_MenuPathBuffer)); |
| 60 | } |
| 61 | |
| 62 | this->entry_menu->MoveTo(new_path); |
| 63 | } |
| 64 | |
| 65 | void MainMenuLayout::menu_EntryInputPressed(const u64 keys_down) { |
| 66 | if(keys_down & HidNpadButton_B) { |
no test coverage detected