[grilo-plugins] thegamesdb: Use Game Boy Color registered MIME type
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] thegamesdb: Use Game Boy Color registered MIME type
- Date: Thu, 25 Aug 2016 13:16:13 +0000 (UTC)
commit 7cf07511d8b8cbf9c1f165dd19f3af180186c906
Author: Adrien Plazas <kekun plazas laposte net>
Date: Mon Aug 1 10:17:33 2016 +0200
thegamesdb: Use Game Boy Color registered MIME type
Use the 'application/x-gameboy-color-rom' MIME type rather than trying
to disambiguate it from 'application/x-gameboy-rom'.
https://bugzilla.gnome.org/show_bug.cgi?id=769373
src/lua-factory/sources/grl-thegamesdb.lua | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/src/lua-factory/sources/grl-thegamesdb.lua b/src/lua-factory/sources/grl-thegamesdb.lua
index cc71ed1..185b9c7 100644
--- a/src/lua-factory/sources/grl-thegamesdb.lua
+++ b/src/lua-factory/sources/grl-thegamesdb.lua
@@ -206,8 +206,8 @@ function get_platform_name(mime_type, suffix)
platform_names['application/x-atari-5200-rom'] = 'Atari 5200'
platform_names['application/x-atari-7800-rom'] = 'Atari 7800'
platform_names['application/x-dc-rom'] = 'Sega Dreamcast'
- -- Also represents 'Nintendo Game Boy Color'
platform_names['application/x-gameboy-rom'] = 'Nintendo Game Boy'
+ platform_names['application/x-gameboy-color-rom'] = 'Nintendo Game Boy Color'
platform_names['application/x-gamecube-rom'] = 'Nintendo GameCube'
platform_names['application/x-gba-rom'] = 'Nintendo Game Boy Advance'
platform_names['application/x-genesis-rom'] = 'Sega Genesis'
@@ -229,13 +229,6 @@ function get_platform_name(mime_type, suffix)
suffix ~= 'bin' and
platform_names[mime_type] then
- -- Game Boy / Game Boy Color
- if platform_names[mime_type] == 'Nintendo Game Boy' then
- if suffix == 'gbc' or suffix == 'cgb' then
- return 'Nintendo Game Boy Color'
- end
- end
-
-- Sega Master System / Game Gear
if platform_names[mime_type] == 'Sega Master System' and
suffix == 'gg' then
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]