-
Notifications
You must be signed in to change notification settings - Fork 37
Options Menu additions/fixes #240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Options Menu additions/fixes #240
Conversation
added hide options for: extensions rom tags save folder moved show loading bar option to change in ui load_rom.c modified to catch crash
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughThree new boolean settings— Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant SettingsEditor
participant Settings
participant Browser
User->>SettingsEditor: Opens settings menu
SettingsEditor->>Settings: Loads current settings
User->>SettingsEditor: Changes hide_extension/hide_rom_tags/hide_saves_folder
SettingsEditor->>Settings: Updates and saves new setting
SettingsEditor->>Browser: Triggers browser reload (if needed)
Browser->>Settings: Reads updated settings
Browser->>Browser: Applies hiding logic when displaying files/folders
Suggested labels
Poem
✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Given there is no real convention for ROM Tags, I am not sure if it is a great idea (given your current implementation), so would require extensive testing. Fully support the "hide save folders" and "hide ROM extensions" though. |
I was looking at the code and it can be refactored into file_list.c which will be much cleaner if you are ok with reviewing those chsnges. I implemented this code because Hiding ROM tags is a part of many emulation front end scrapers and metadata editors. EmulationStation |
|
In the latest develop commits, I have wrapped the autoload functionality in ifdef flags, so you can keep the progress bar changes, but keep them in the ifdef's... |
|
hmm moving it back into ifdef broke it. Im just going to remove it. No time to develop this further. |
|
ok, nvm figured it out. |
Co-authored-by: Robin Jones <[email protected]>
Co-authored-by: Robin Jones <[email protected]>
Co-authored-by: Robin Jones <[email protected]>
Co-authored-by: Robin Jones <[email protected]>
|
Thank you @networkfusion for the review. I do not have a dev background so I kinda flail at this stuff. |
3302dc6 to
7b68b2f
Compare
This improves emulation of cold boot, as otherwise the FPU might start in an unexpected state. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Improved initialization procedures during system boot for enhanced stability. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Description This allows the menu to boot ROMs with 1 MBit saves. ## Motivation and Context Without this I get "Error occured during save loading" when trying to load a ROM using this save type in the header. ## How Has This Been Tested? From a libdragon install, run `ed64romconfig --savetype sram1m file.z64` on any ROM to change the header byte, then try to load it in the menu. With the patch, the ROM should load successfully. Sample using a test ROM here: [test_sram1m.zip](https://github.com/user-attachments/files/21261604/test_sram1m.zip) ## Screenshots None ## Types of changes - [ ] Improvement (non-breaking change that adds a new feature) - [X] Bug fix (fixes an issue) - [ ] Breaking change (breaking change) - [ ] Documentation Improvement - [ ] Config and build (change in the configuration and build system, has no impact on code or features) ## Checklist: - [X] My code follows the code style of this project. - [ ] My change requires a change to the documentation. - [ ] I have updated the documentation accordingly. - [ ] I have added tests to cover my changes. - [X] All new and existing tests passed. Signed-off-by: lategator <[email protected]> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved compatibility for games using the 1Mbit SRAM save type, ensuring proper save data handling. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: Robin Jones <[email protected]>
2fd7dd7 to
bfb4e22
Compare
c8e5336 to
4fb877a
Compare
b4c081d to
490ddff
Compare

Description
This PR adds the ability to change in the UI:
Hide Rom file extensions
Hide ROM Tags
Hides Dir '/' (no setting for it)!Hide all saves foldersMoved:Load progress bar to UI optionMotivation and Context
Cleans up the UI for those that don't need all information
How Has This Been Tested?
Tests were run on SC64 on Original N64. small change was made to load_rom.c to catch a crash.
Types of changes
Checklist:
You agree with the license terms and that other license types may be granted with permission of the original
N64FlashcartMenuproject license holders.Signed-off-by: [email protected]
Summary by CodeRabbit
New Features
Style