Skip to content

Fix missing icons on page 2 by improving icon streaming and cache fal…#39

Open
juanxcueva wants to merge 1 commit intoPoloNX:masterfrom
juanxcueva:fix/icon-streaming-page2
Open

Fix missing icons on page 2 by improving icon streaming and cache fal…#39
juanxcueva wants to merge 1 commit intoPoloNX:masterfrom
juanxcueva:fix/icon-streaming-page2

Conversation

@juanxcueva
Copy link
Copy Markdown

Summary

Fixes an issue where page 2 could show missing/blank game icons while other pages loaded correctly.

Changes

  • Icon streaming:

    • prioritize loading current page icons first
    • retry failed current-page icon uploads
    • reduce prefetch pressure (current page only)
  • App list loading:

    • avoid trusting stale libnxtc cache entries when icon bytes are missing
    • fallback to nsGetApplicationControlData to refresh icon data
    • preserve title entries if NS refresh fails

Files changed

  • projects/menu/src/launcher/IconStreamer.hpp
  • projects/menu/src/launcher/IconStreamer.cpp
  • projects/menu/src/launcher/AppListLoader.cpp

Validation

  • Build succeeded with xmake -v (devkitA64)
  • Packaged with xmake install -o build/sd_out
  • Tested on device with updated files and cleared sdmc:/config/SwitchU/applist.bin

@PoloNX
Copy link
Copy Markdown
Owner

PoloNX commented Apr 10, 2026

Hello, thank you for your pull request. A fix has already been proposed in #35. I think the approach with smart pointers is more logical

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants