[grilo-plugins] thegamesdb: Use Genesis 32X registered MIME type
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] thegamesdb: Use Genesis 32X registered MIME type
- Date: Thu, 25 Aug 2016 13:07:55 +0000 (UTC)
commit c312e456a6dde08012760e52baf3e54754ba4b1d
Author: Adrien Plazas <kekun plazas laposte net>
Date: Sun Jul 31 16:37:37 2016 +0200
thegamesdb: Use Genesis 32X registered MIME type
Use the 'application/x-genesis-32x-rom' MIME type rather than trying to
disambiguate it from 'application/x-genesis-rom'.
https://bugzilla.gnome.org/show_bug.cgi?id=769357
src/lua-factory/sources/grl-thegamesdb.lua | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/src/lua-factory/sources/grl-thegamesdb.lua b/src/lua-factory/sources/grl-thegamesdb.lua
index 87840c6..311714f 100644
--- a/src/lua-factory/sources/grl-thegamesdb.lua
+++ b/src/lua-factory/sources/grl-thegamesdb.lua
@@ -210,8 +210,8 @@ function get_platform_name(mime_type, suffix)
platform_names['application/x-gameboy-rom'] = 'Nintendo Game Boy'
platform_names['application/x-gamecube-rom'] = 'Nintendo GameCube'
platform_names['application/x-gba-rom'] = 'Nintendo Game Boy Advance'
- -- Also represents 'Sega 32X'
platform_names['application/x-genesis-rom'] = 'Sega Genesis'
+ platform_names['application/x-genesis-32x-rom'] = 'Sega 32X'
platform_names['application/x-n64-rom'] = 'Nintendo 64'
platform_names['application/x-neo-geo-pocket-rom'] = 'Neo Geo Pocket'
platform_names['application/x-nes-rom'] = 'Nintendo Entertainment System (NES)'
@@ -235,14 +235,6 @@ function get_platform_name(mime_type, suffix)
end
end
- -- Genesis / 32X
- if platform_names[mime_type] == 'Sega Genesis' then
- if suffix == '32x' or
- suffix == 'mdx' then
- return 'Sega 32X'
- 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]