summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2024-04-06 10:42:18 +0200
committerDavid Faure <faure@kde.org>2024-04-06 10:02:46 +0000
commit9c10195039b339132cf7bd116ee1123791e053c7 (patch)
tree4904ecfc53c854b07f4b6a997868e397dda6b975
parente57e3f72455d4ebac86a2b249506130f59462ec3 (diff)
Add *.md as a possible glob for Sega Genesis/Megadrive ROMsHEADmaster
And try not to conflict with Markdown files.
-rw-r--r--data/freedesktop.org.xml.in1
-rw-r--r--tests/mime-detection/list1
-rw-r--r--tests/mime-detection/sega-genesis-rom.mdbin0 -> 1024 bytes
3 files changed, 2 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index 77af21c..ee7c4c8 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -2597,6 +2597,7 @@ command to generate the output files.
</magic>
<glob pattern="*.gen"/>
<glob pattern="*.smd"/>
+ <glob pattern="*.md" weight="10"/>
<glob pattern="*.sgd"/>
</mime-type>
<mime-type type="application/x-genesis-32x-rom">
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index 13978cc..5002b11 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -728,6 +728,7 @@ genesis2.bin application/x-genesis-rom x
mega-drive-rom.gen application/x-genesis-rom
# Sega Channel Revival v3
sega-genesis-rom.smd application/x-genesis-rom
+sega-genesis-rom.md application/x-genesis-rom x
eu_en_Sword_of_Vermilion.bin application/x-genesis-rom xo
32x-rom.32x application/x-genesis-32x-rom
pico-rom.bin application/x-sega-pico-rom x
diff --git a/tests/mime-detection/sega-genesis-rom.md b/tests/mime-detection/sega-genesis-rom.md
new file mode 100644
index 0000000..1118bf1
--- /dev/null
+++ b/tests/mime-detection/sega-genesis-rom.md
Binary files differ