[gnome-games] master-system: Replace the plugin by simple types



commit 76a795d8a3eac5f9d76f984ccbc50664428dcd63
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Thu May 25 15:45:21 2017 +0200

    master-system: Replace the plugin by simple types
    
    https://bugzilla.gnome.org/show_bug.cgi?id=783111

 configure.ac                                       |    1 -
 plugins/Makefile.am                                |    4 -
 plugins/master-system/Makefile.am                  |    3 -
 plugins/master-system/configure.ac                 |   14 ---
 plugins/master-system/data/Makefile.am             |    6 -
 plugins/master-system/data/master-system.plugin    |    6 -
 plugins/master-system/src/Makefile.am              |   50 ---------
 .../master-system/src/master-system-header.vala    |  105 --------------------
 .../master-system/src/master-system-plugin.vala    |   89 -----------------
 src/retro/retro-simple-types.vala                  |    3 +
 10 files changed, 3 insertions(+), 278 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ba2cdec..2f1bfad 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/master-system/configure.ac])
 m4_include([plugins/mega-drive/configure.ac])
 m4_include([plugins/ms-dos/configure.ac])
 m4_include([plugins/neo-geo-pocket/configure.ac])
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 064b51a..73ab3a6 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -24,10 +24,6 @@ if ENABLE_MAME_PLUGIN
 SUBDIRS += mame
 endif
 
-if ENABLE_MASTER_SYSTEM_PLUGIN
-SUBDIRS += master-system
-endif
-
 if ENABLE_MEGA_DRIVE_PLUGIN
 SUBDIRS += mega-drive
 endif
diff --git a/src/retro/retro-simple-types.vala b/src/retro/retro-simple-types.vala
index 65902fb..7cc6f84 100644
--- a/src/retro/retro-simple-types.vala
+++ b/src/retro/retro-simple-types.vala
@@ -9,6 +9,9 @@ namespace Games {
                { "application/x-doom-wad", true, "DOOM", "doom" },
                { "application/x-gameboy-color-rom", true, "GameBoyColor", "game-boy" }, // The prefix is the 
same as the Game Boy type for backward compatibility.
                { "application/x-gameboy-rom", true, "GameBoy", "game-boy" },
+               { "application/x-gamegear-rom", true, "GameGear", "game-gear" },
                { "application/x-gba-rom", true, "GameBoyAdvance", "game-boy-advance" },
+               { "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]