Skip to content
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

Android: Broadcast update before updating additional metadata #9529

Merged

Conversation

JosJuice
Copy link
Member

In master, the game scanning process looks like this:

  1. Scan for games
  2. Scan for additional metadata (icon.png and meta.xml)
  3. Save the cache if needed
  4. Update the game list with the results

This change makes the game scanning process look like this:

  1. Scan for games
  2. Update the game list with the results
  3. Scan for additional metadata (icon.png and meta.xml)
  4. Update the game list with the results
  5. Save the cache if needed

Updating the game list as soon as possible means the user has to wait less before their games show up. The new behavior matches what DolphinWX did before it was removed. (DolphinQt has an even fancier approach where games get added one by one.)

Copy link
Member

@leoetlino leoetlino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but a rebase is required

In master, the game scanning process looks like this:

1. Scan for games
2. Scan for additional metadata (icon.png and meta.xml)
3. Save the cache if needed
4. Update the game list with the results

This change makes the game scanning process look like this:

1. Scan for games
2. Update the game list with the results
3. Scan for additional metadata (icon.png and meta.xml)
4. Update the game list with the results
5. Save the cache if needed

Updating the game list as soon as possible means the user
has to wait less before their games show up. The new behavior
matches what DolphinWX did before it was removed. (DolphinQt
has an even fancier approach where games get added one by one.)
@JosJuice JosJuice force-pushed the android-broadcast-before-metadata branch from 53e6ab7 to 873d5f9 Compare March 4, 2021 21:54
@leoetlino leoetlino merged commit 19c5a19 into dolphin-emu:master Mar 4, 2021
10 checks passed
@JosJuice JosJuice deleted the android-broadcast-before-metadata branch March 5, 2021 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants