You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
UI Crashes after scrolling past ~5600 chars of rom names. #114
Describe the bug
I can reliably crash RetroESP32 by simply scrolling through ROMs in the main UX. I have reproduced this in both the v2.6 and v2.8 releases on an Odroid GO Anniversary edition.
To Reproduce
Steps to reproduce the behavior:
create a directory for NES roms on your SD card
fill the rom directory with approx 500 roms. (minimum might be ~200 roms, I have 1109.)
install SD card into device and boot to retroESP
once startup complates:
press RIGHT until the list of NES roms is displayed.
press DOWN repeatedly to scroll the list.
after approximately 175 roms, (or approx 5500 total chars in filenames,) the list stops scrolling, and the game title listed at the top gets corrupted.
press down a few more times, the corrupted rom name changes a few times, until the whole device restarts.
after device restarts:
repeat step 4
repeat steps 5-7, but presssing UP instead of down.
10 observe identical crash as before.
Expected behavior
I should be able to scroll through all 1100+ roms.
Retro-ESP32 Version - confirmed in both 2.6 and 2.8
Additional context
I have ensured I am on the latest release, and that neither the roms nor the SD filesystem are corrupt. No rom filenames contain invalid or unprintable characters. While the line-count is different when scrolling from top down or bottom-up, the approximate character count is consistent in both directions, approx 5500 chars not counting the ".nes" file suffix.
Activity