[gnome-games/wip/aplazas/type-registration: 16/19] nes: Replace the plugin by simple types



commit f1bc8b03143375a574cd5bae212557e0e60ce010
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Thu May 25 17:22:05 2017 +0200

    nes: Replace the plugin by simple types

 configure.ac                      |    1 -
 plugins/Makefile.am               |    4 --
 plugins/nes/Makefile.am           |    3 --
 plugins/nes/configure.ac          |   14 --------
 plugins/nes/data/Makefile.am      |    6 ---
 plugins/nes/data/nes.plugin       |    6 ---
 plugins/nes/src/Makefile.am       |   49 ---------------------------
 plugins/nes/src/nes-plugin.vala   |   66 -------------------------------------
 src/retro/retro-simple-types.vala |    2 +
 9 files changed, 2 insertions(+), 149 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8aeb4b5..6d422e2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,7 +24,6 @@ LT_INIT
 # Plugins
 m4_include([plugins/desktop/configure.ac])
 m4_include([plugins/dreamcast/configure.ac])
-m4_include([plugins/nes/configure.ac])
 m4_include([plugins/game-cube/configure.ac])
 m4_include([plugins/libretro/configure.ac])
 m4_include([plugins/love/configure.ac])
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index ddd9324..78d0d71 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -24,10 +24,6 @@ if ENABLE_MAME_PLUGIN
 SUBDIRS += mame
 endif
 
-if ENABLE_NES_PLUGIN
-SUBDIRS += nes
-endif
-
 if ENABLE_NINTENDO_DS_PLUGIN
 SUBDIRS += nintendo-ds
 endif
diff --git a/src/retro/retro-simple-types.vala b/src/retro/retro-simple-types.vala
index 0730a8e..f72f675 100644
--- a/src/retro/retro-simple-types.vala
+++ b/src/retro/retro-simple-types.vala
@@ -7,6 +7,7 @@ namespace Games {
                { "application/x-atari-7800-rom", true, "Atari7800", "atari-7800" },
                { "application/x-atari-lynx-rom", true, "AtariLynx", "atari-lynx" },
                { "application/x-doom-wad", true, "DOOM", "doom" },
+               { "application/x-fds-disk", true, "FamicomDiskSystem", "fds" },
                { "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" },
@@ -15,6 +16,7 @@ namespace Games {
                { "application/x-genesis-rom", true, "SegaGenesis", "mega-drive" },
                { "application/x-ms-dos-executable", false, "MSDOS", "ms-dos" },
                { "application/x-neo-geo-pocket-rom", true, "NeoGeoPocket", "neo-geo-pocket" },
+               { "application/x-nes-rom", true, "NintendoEntertainmentSystem", "nes" },
                { "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]