Skip to content

Explore: allow better merge of metadata#18778

Merged
LibretroAdmin merged 1 commit intolibretro:masterfrom
zoltanvb:explore_nes
Feb 27, 2026
Merged

Explore: allow better merge of metadata#18778
LibretroAdmin merged 1 commit intolibretro:masterfrom
zoltanvb:explore_nes

Conversation

@zoltanvb
Copy link
Contributor

Description

Remove an early return condition from explore menu item collection. In case of NES database, this caused Explore menu to be quite limited.

Related Issues

Closes #11275 . Or, at least, helps the situation, depending on the CRC match.

@LibretroAdmin LibretroAdmin merged commit 92b668d into libretro:master Feb 27, 2026
35 checks passed
@schellingb
Copy link
Contributor

Has this change been profiled? It looks like it would affect performance. Though maybe a good reason to look into improving the performance of the RDB parsing code, it is unnecessarily slow last time I looked at it.

@zoltanvb
Copy link
Contributor Author

Not explicitly profiled, no extra delay was obvious during testing.
Memory usage should not be higher than what is actually needed to store all the found metadata (which was intended to be there anyway). Initial explore menu setup may take slightly longer as the database is read in full instead of stopping after the same amount of hits as titles, but this is probably only significant if there are many systems (=many rdb files read), but only a few titles per system.
RDB optimization may be anyway welcome - when the database extension (see on Discord) lands, rdb's may be significantly larger.

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.

Imported NES games (via scan) won't appear in "Explore" categories—Year, Developer, Genre, etc

3 participants