[gnome-games/wip/aplazas/type-registration: 14/19] ms-dos: Replace the plugin by a simple type



commit ae86d19166b9bbf9f130f929f4caf7f807443eae
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Thu May 25 16:51:23 2017 +0200

    ms-dos: Replace the plugin by a simple type

 configure.ac                          |    1 -
 plugins/Makefile.am                   |    4 ---
 plugins/ms-dos/Makefile.am            |    3 --
 plugins/ms-dos/configure.ac           |   14 ---------
 plugins/ms-dos/data/Makefile.am       |    6 ----
 plugins/ms-dos/data/ms-dos.plugin     |    6 ----
 plugins/ms-dos/src/Makefile.am        |   49 ---------------------------------
 plugins/ms-dos/src/ms-dos-plugin.vala |   34 -----------------------
 src/retro/retro-simple-types.vala     |    1 +
 9 files changed, 1 insertions(+), 117 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 0d84db6..bdef755 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,7 +29,6 @@ m4_include([plugins/game-cube/configure.ac])
 m4_include([plugins/libretro/configure.ac])
 m4_include([plugins/love/configure.ac])
 m4_include([plugins/mame/configure.ac])
-m4_include([plugins/ms-dos/configure.ac])
 m4_include([plugins/neo-geo-pocket/configure.ac])
 m4_include([plugins/nintendo-64/configure.ac])
 m4_include([plugins/nintendo-ds/configure.ac])
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index f9ed64c..e217b7c 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -24,10 +24,6 @@ if ENABLE_MAME_PLUGIN
 SUBDIRS += mame
 endif
 
-if ENABLE_MS_DOS_PLUGIN
-SUBDIRS += ms-dos
-endif
-
 if ENABLE_NEO_GEO_POCKET_PLUGIN
 SUBDIRS += neo-geo-pocket
 endif
diff --git a/src/retro/retro-simple-types.vala b/src/retro/retro-simple-types.vala
index 39026be..503b581 100644
--- a/src/retro/retro-simple-types.vala
+++ b/src/retro/retro-simple-types.vala
@@ -13,6 +13,7 @@ namespace Games {
                { "application/x-gba-rom", true, "GameBoyAdvance", "game-boy-advance" },
                { "application/x-genesis-32x-rom", true, "Sega32X", "mega-drive-32x" },
                { "application/x-genesis-rom", true, "SegaGenesis", "mega-drive" },
+               { "application/x-ms-dos-executable", false, "MSDOS", "ms-dos" },
                { "application/x-sega-pico-rom", true, "SegaPico", "sega-pico" },
                { "application/x-sg1000-rom", true, "SG1000", "sg-1000" },
                { "application/x-sms-rom", true, "MasterSystem", "master-system" },


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