summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien Plazas <kekun.plazas@laposte.net>2015-08-29 20:06:09 +0200
committerBastien Nocera <hadess@hadess.net>2015-09-01 12:20:11 +0200
commitf7408ea133eae27abce67bbe67a7225d64536008 (patch)
tree2e182ccb03d4d49fbde7df1c97face77e56d169c
parenta47c0eb7a2c4799a6e06ff7e57b37a14967299df (diff)
downloadshared-mime-info-f7408ea133eae27abce67bbe67a7225d64536008.tar.gz
Add application/x-saturn-rom
https://bugs.freedesktop.org/show_bug.cgi?id=91815
-rw-r--r--freedesktop.org.xml.in10
-rw-r--r--tests/list2
-rw-r--r--tests/saturn-test.binbin0 -> 1024 bytes
3 files changed, 12 insertions, 0 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
index 8ba95704..11ff918e 100644
--- a/freedesktop.org.xml.in
+++ b/freedesktop.org.xml.in
@@ -1635,6 +1635,16 @@ command to generate the output files.
<generic-icon name="text-x-script"/>
<glob pattern="*.es"/>
</mime-type>
+ <mime-type type="application/x-saturn-rom">
+ <_comment>Sega Saturn disc image</_comment>
+ <generic-icon name="application-x-executable"/>
+ <magic priority="50">
+ <match type="string" value="SEGA SEGASATURN" offset="0"/>
+ <match type="string" value="SEGA SEGASATURN" offset="16"/>
+ </magic>
+ <glob pattern="*.bin"/>
+ <glob pattern="*.iso"/>
+ </mime-type>
<mime-type type="application/x-dc-rom">
<_comment>Dreamcast GD-ROM</_comment>
<generic-icon name="application-x-executable"/>
diff --git a/tests/list b/tests/list
index cdd26d35..add9c089 100644
--- a/tests/list
+++ b/tests/list
@@ -438,6 +438,8 @@ genesis2.bin application/x-genesis-rom xox
game-boy-test.gb application/x-gameboy-rom
# The Legend of Zelda: Link's Awakening truncated to 1Ko
game-boy-color-test.gbc application/x-gameboy-rom
+# NiGHTS into Dreams truncated to 1Ko
+saturn-test.bin application/x-saturn-rom x
m64p_test_rom.n64 application/x-n64-rom
m64p_test_rom.v64 application/x-n64-rom
m64p_test_rom.z64 application/x-n64-rom
diff --git a/tests/saturn-test.bin b/tests/saturn-test.bin
new file mode 100644
index 00000000..4df976c0
--- /dev/null
+++ b/tests/saturn-test.bin
Binary files differ