[gnome-games/wip/aplazas/recursive-core-search] libretro: Search Libretro cores recursively



commit c6e60b077af53ae1c68af2274aa3a00136177b78
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Thu Mar 9 12:36:32 2017 +0100

    libretro: Search Libretro cores recursively
    
    This allows to have Libretro games as Flatpak extensions.

 plugins/libretro/src/libretro-game-source.vala |    2 +-
 src/retro/retro-core-source.vala               |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/libretro/src/libretro-game-source.vala b/plugins/libretro/src/libretro-game-source.vala
index dfc10a2..fb2725f 100644
--- a/plugins/libretro/src/libretro-game-source.vala
+++ b/plugins/libretro/src/libretro-game-source.vala
@@ -17,7 +17,7 @@ public class Games.LibretroGameSource : Object, GameSource {
 
        public async void fetch_games () {
                games = {};
-               var modules = new Retro.ModuleQuery ();
+               var modules = new Retro.ModuleQuery (true);
                foreach (var core_descriptor in modules) {
                        try {
                                if (core_descriptor.get_is_game ())
diff --git a/src/retro/retro-core-source.vala b/src/retro/retro-core-source.vala
index a004ded..1828c00 100644
--- a/src/retro/retro-core-source.vala
+++ b/src/retro/retro-core-source.vala
@@ -40,7 +40,7 @@ public class Games.RetroCoreSource : Object {
        }
 
        private void search_module () throws Error {
-               var modules = new Retro.ModuleQuery ();
+               var modules = new Retro.ModuleQuery (true);
                foreach (var core_descriptor in modules) {
                        try {
                                if (!core_descriptor.get_is_emulator ())


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]