retrohub-org / retrohub

Retrogaming library frontend, built to be a highly customizable platform.
https://retrohub-org.github.io/
MIT License
110 stars 6 forks source link

Cache emulator paths #316

Closed rsubtil closed 8 months ago

rsubtil commented 8 months ago

This change reduces unnecessary I/O by caching valid lookup paths for emulators to a new _emulator_paths.json, in order to try it the next time. The mechanism remains completely transparent to the user; if the cached path lookup fails, the existing mechanism then kicks in.

This also makes the existing emulator cache for the emulator first wizard screen redundant, so it was removed.

This change also fixes RetroArch's corepath always being overridden by what's specified in it's config file.

Closes #204.