summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien Plazas <kekun.plazas@laposte.net>2020-11-08 13:22:19 +0100
committerAdrien Plazas <kekun.plazas@laposte.net>2020-11-08 13:25:38 +0100
commite9f8c792da59dec4d85e661e3032dac8c2c8a14d (patch)
tree8e078c6fa151af434c8df3310657ffdc029ad447
parentca0cf95448cb6ab405d8a4733569a3fcee900f28 (diff)
downloadshared-mime-info-e9f8c792da59dec4d85e661e3032dac8c2c8a14d.tar.gz
Add application/x-mame-chd
-rw-r--r--data/freedesktop.org.xml.in8
-rw-r--r--tests/mime-detection/gds-0008.chdbin0 -> 1024 bytes
-rw-r--r--tests/mime-detection/list2
3 files changed, 10 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index 4be671d2..b3943f71 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -1788,6 +1788,14 @@ command to generate the output files.
<generic-icon name="text-x-script"/>
<glob pattern="*.es"/>
</mime-type>
+ <mime-type type="application/x-mame-chd">
+ <comment>MAME compressed hard disk image</comment>
+ <generic-icon name="application-x-executable"/>
+ <magic priority="50">
+ <match type="string" value="MComprHD" offset="0"/>
+ </magic>
+ <glob pattern="*.chd"/>
+ </mime-type>
<mime-type type="application/x-sega-cd-rom">
<!-- Translate this to Mega-CD if the console was known as such in your locale
Should be Mega-CD in all but en_US, Mexico, Canada and Brazil: https://en.wikipedia.org/wiki/Sega_CD -->
diff --git a/tests/mime-detection/gds-0008.chd b/tests/mime-detection/gds-0008.chd
new file mode 100644
index 00000000..01ab6b5e
--- /dev/null
+++ b/tests/mime-detection/gds-0008.chd
Binary files differ
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index a50f093e..cba5f342 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -568,6 +568,8 @@ pico-rom.bin application/x-sega-pico-rom x
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-color-rom
+# Monkey Ball for Naomi truncated to 1Ko
+gds-0008.chd application/x-mame-chd
# Sonic CD truncated to 1Ko
sega-cd-test.iso application/x-sega-cd-rom x
# NiGHTS into Dreams truncated to 1Ko