Fixing kids/unattended mode

This commit is contained in:
Rael Gugelmin Cunha 2018-11-15 15:09:08 -02:00
parent 811e2cefdc
commit c98a5d6220
2 changed files with 1 additions and 2 deletions

View file

@ -154,7 +154,7 @@ std::vector<HelpPrompt> BasicGameListView::getHelpPrompts()
prompts.push_back(HelpPrompt("select", "options")); prompts.push_back(HelpPrompt("select", "options"));
if(mRoot->getSystem()->isGameSystem()) if(mRoot->getSystem()->isGameSystem())
prompts.push_back(HelpPrompt("x", "random")); prompts.push_back(HelpPrompt("x", "random"));
if(mRoot->getSystem()->isGameSystem() && UIModeController::getInstance()->isUIModeFull()) if(mRoot->getSystem()->isGameSystem() && !UIModeController::getInstance()->isUIModeKid())
{ {
std::string prompt = CollectionSystemManager::get()->getEditingCollection(); std::string prompt = CollectionSystemManager::get()->getEditingCollection();
prompts.push_back(HelpPrompt("y", prompt)); prompts.push_back(HelpPrompt("y", prompt));

View file

@ -18,7 +18,6 @@ std::vector<const char*> settings_dont_save {
{ "DebugImage" }, { "DebugImage" },
{ "ForceKid" }, { "ForceKid" },
{ "ForceKiosk" }, { "ForceKiosk" },
{ "ForceDisableFilters" },
{ "IgnoreGamelist" }, { "IgnoreGamelist" },
{ "HideConsole" }, { "HideConsole" },
{ "ShowExit" }, { "ShowExit" },