[gnome-games/wip/exalm/psx-cleanup: 6/10] libretro: Use GenericInputCapabilities



commit 9a120ccbfe3b234b5640298e15cb5ab1b2a785d4
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Mon Feb 10 15:52:04 2020 +0500

    libretro: Use GenericInputCapabilities

 plugins/libretro/src/libretro-input-capabilities.vala | 7 -------
 plugins/libretro/src/libretro-plugin.vala             | 2 +-
 plugins/libretro/src/meson.build                      | 1 -
 3 files changed, 1 insertion(+), 9 deletions(-)
---
diff --git a/plugins/libretro/src/libretro-plugin.vala b/plugins/libretro/src/libretro-plugin.vala
index d966fa8d..2dd6f8e6 100644
--- a/plugins/libretro/src/libretro-plugin.vala
+++ b/plugins/libretro/src/libretro-plugin.vala
@@ -67,7 +67,7 @@ private class Games.LibretroPlugin : Object, Plugin {
        private static Runner? create_runner (Game game) throws Error {
                var uri = game.get_uri ();
                var core_descriptor = get_core_descriptor (uri);
-               var input_capabilities = new LibretroInputCapabilities ();
+               var input_capabilities = new GenericInputCapabilities (true);
 
                var builder = new RetroRunnerBuilder ();
                builder.core_descriptor = core_descriptor;
diff --git a/plugins/libretro/src/meson.build b/plugins/libretro/src/meson.build
index 76296937..e8569b93 100644
--- a/plugins/libretro/src/meson.build
+++ b/plugins/libretro/src/meson.build
@@ -1,7 +1,6 @@
 vala_sources = [
   'libretro-error.vala',
   'libretro-icon.vala',
-  'libretro-input-capabilities.vala',
   'libretro-plugin.vala',
   'libretro-title.vala',
   'libretro-uid.vala',


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