[gnome-games] libretro: Search Libretro cores recursively
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] libretro: Search Libretro cores recursively
- Date: Sun, 12 Mar 2017 07:50:06 +0000 (UTC)
commit 82eba3e1f7f45de0a4dda5b8d7fc9392eace44ce
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 cores and standalone 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]