Git Product home page Git Product logo

Comments (14)

sonninnos avatar sonninnos commented on June 26, 2024 1

The three dots are only supposed to be there when the option is a submenu, as in not a single action item, but that is not always 100% perfect. And indeed it does not belong there, so it is not missing.

retroarch_2024_04_06_17_58_30_224

from retroarch.

christianhaitian avatar christianhaitian commented on June 26, 2024 1

That indeed is not the proper way to hide the item. That only removes the action, but it should rather remove the display item in menu/menu_displaylist.c.

Now that I know that, I'll update the patch to remove the display entry from that location in the future.

from retroarch.

sonninnos avatar sonninnos commented on June 26, 2024 1

Searching with MENU_ENUM_LABEL_RESET_TO_DEFAULT_CONFIG points to this block:

if (menu_entries_append(list,

So either add a break before that or comment out the if and the count++.

from retroarch.

zoltanvb avatar zoltanvb commented on June 26, 2024

Could not reproduce yet. Can you tell what version are you using (Information / System Information)?

from retroarch.

lauren7ino avatar lauren7ino commented on June 26, 2024

[INFO] RetroArch 1.18.0 (Git 90b960272f)
[INFO] === Build =======================================
[INFO] Funcionalidades: ASIMD
[INFO] Version: 1.18.0
[INFO] Git: 90b960272f
[INFO] Built: Mar 29 2024
[INFO] =================================================

Anbernic RG353M with ArkOS

CFG attached.
retroarch.cfg.zip

from retroarch.

lauren7ino avatar lauren7ino commented on June 26, 2024

While you are into it, add a > Show 'Local Network' < setting in Menu Item Visibility (is missing).
Thanks

from retroarch.

zoltanvb avatar zoltanvb commented on June 26, 2024

I can not reproduce via normal builds, I'm afraid. Took the relevant values from your config file, but the 4th menu entry still shows up correctly.
But there is one thing: I can not find the commit ID in RetroArch main repository (i.e. this one), so I can only assume it was built from some fork, but I could not locate the respective source for ArkOS. If you have access to that, maybe you can take a look at the copy of this specific file there:

"Repor os valores padrão"

If the value of MENU_ENUM_LABEL_VALUE_RESET_TO_DEFAULT_CONFIG is just whitespace (" "), this causes the entry to be invisible, but normally it is prevented by Crowdin and the translation export scripts, and I can not see any change in this line since 2 years.

from retroarch.

lauren7ino avatar lauren7ino commented on June 26, 2024

OK, I will see what I can do.
I believe it's something more, have you noticed that the three dots in the right are also missing?

from retroarch.

lauren7ino avatar lauren7ino commented on June 26, 2024

OK. I went back to English and the entry also doesn't appear. It's something else not related with translations.

from retroarch.

christianhaitian avatar christianhaitian commented on June 26, 2024

In ArkOS, the entry is specifically removed to prevent resetting the configuration as if the user does this, the builtin controller no longer can control the interface. The patch used for this is here: https://github.com/christianhaitian/rk3566_core_builds/blob/master/patches/retroarch-patch-0003-disable_reset_and_enable_reboot_shutdown_menu_option.patch

from retroarch.

sonninnos avatar sonninnos commented on June 26, 2024

That indeed is not the proper way to hide the item. That only removes the action, but it should rather remove the display item in menu/menu_displaylist.c.

from retroarch.

lauren7ino avatar lauren7ino commented on June 26, 2024

I'm outside this conversation, but can I suggest keeping the menu entry, and having an optional retroarch.cfg.reset that is configured to the builtin controller.
Then that menu option is set, if this file exists, replaces the existing retroarch.cfg

from retroarch.

christianhaitian avatar christianhaitian commented on June 26, 2024

The specific line in menu_displaylist.c that should be commented out that removes the display would be helpful as I don't know where that it in looking at the code.

from retroarch.

sonninnos avatar sonninnos commented on June 26, 2024

I'll close this since the issue is sorted.

from retroarch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.