[gnome-games/wip/exalm/psx-cleanup: 7/10] ms-dos: Use GenericInputCapabilities



commit cbcbe5a8d2b20d1c26b44670a78039b234543117
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Mon Feb 10 15:52:42 2020 +0500

    ms-dos: Use GenericInputCapabilities

 plugins/ms-dos/src/meson.build                    | 1 -
 plugins/ms-dos/src/ms-dos-input-capabilities.vala | 7 -------
 plugins/ms-dos/src/ms-dos-plugin.vala             | 2 +-
 3 files changed, 1 insertion(+), 9 deletions(-)
---
diff --git a/plugins/ms-dos/src/meson.build b/plugins/ms-dos/src/meson.build
index 8b0253af..95dcc559 100644
--- a/plugins/ms-dos/src/meson.build
+++ b/plugins/ms-dos/src/meson.build
@@ -1,5 +1,4 @@
 vala_sources = [
-  'ms-dos-input-capabilities.vala',
   'ms-dos-plugin.vala',
 ]
 
diff --git a/plugins/ms-dos/src/ms-dos-plugin.vala b/plugins/ms-dos/src/ms-dos-plugin.vala
index 627e8318..e650b1b4 100644
--- a/plugins/ms-dos/src/ms-dos-plugin.vala
+++ b/plugins/ms-dos/src/ms-dos-plugin.vala
@@ -47,7 +47,7 @@ private class Games.MsDosPlugin : Object, Plugin {
 
        private static Runner? create_runner (Game game) throws Error {
                var core_source = new RetroCoreSource (platform);
-               var input_capabilities = new MsDosInputCapabilities ();
+               var input_capabilities = new GenericInputCapabilities (true);
 
                var builder = new RetroRunnerBuilder ();
                builder.core_source = core_source;


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