| Summary: | Improve Neo-Geo Pocket (Color) detection | ||
|---|---|---|---|
| Product: | shared-mime-info | Reporter: | Alexander Mikhaylenko <exalm7659> |
| Component: | freedesktop.org.xml | Assignee: | Shared Mime Info group <shared_mime_info> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
| Attachments: |
[PATCH 1/2] Fix application/x-neo-geo-pocket-rom header and test
[PATCH 2/2] Add Neo Geo Pocket Color file type [PATCH] Differentiate Neo Geo Pocket Color ROMs from non-Color ones |
||
|
Description
Alexander Mikhaylenko
2018-04-15 13:18:49 UTC
Created attachment 138847 [details] [review] [PATCH 1/2] Fix application/x-neo-geo-pocket-rom header and test Created attachment 138848 [details] [review] [PATCH 2/2] Add Neo Geo Pocket Color file type Comment on attachment 138847 [details] [review] [PATCH 1/2] Fix application/x-neo-geo-pocket-rom header and test Review of attachment 138847 [details] [review]: ----------------------------------------------------------------- > The first 9 characters in the header can either be "COPYRIGHT" or > " LICENSED" with a space. In which case, declaring both cases would be easier than shortening the magic string. Comment on attachment 138848 [details] [review] [PATCH 2/2] Add Neo Geo Pocket Color file type Review of attachment 138848 [details] [review]: ----------------------------------------------------------------- I think it might make sense to merge both patches, with a "Differentiate Neo Geo Pocket Color ROMs from non-Color ones" subject Created attachment 138881 [details] [review] [PATCH] Differentiate Neo Geo Pocket Color ROMs from non-Color ones Add an 'application/x-neo-geo-pocket-color-rom' MIME type, as opposed to 'application-x-neo-geo-pocket-rom'. Neo Geo Pocket Color ROMs usually have '.ngc' extension instead of '.ngp', and their 0x23rd byte in the header is different from NGP ones. The first 9 characters in the header can either be "COPYRIGHT" or " LICENSED" with a leading space. Also update application/x-neo-geo-pocket-rom test to use an actual NGP game instead of a Neo-Geo Pocket Color one. http://bugzilla.freedesktop.org/show_bug.cgi?id=106055 commit fbc73fb12e8c22d7718351f7e4ef6cd9603da34a Author: Exalm <exalm7659@gmail.com> Date: Sun Apr 15 13:07:16 2018 +0000 Differentiate Neo Geo Pocket Color ROMs from non-Color ones Add an 'application/x-neo-geo-pocket-color-rom' MIME type, as opposed to 'application-x-neo-geo-pocket-rom'. Neo Geo Pocket Color ROMs usually have '.ngc' extension instead of '.ngp', and their 0x23rd byte in the header is different from NGP ones. The first 9 characters in the header can either be "COPYRIGHT" or " LICENSED" with a leading space. Also update application/x-neo-geo-pocket-rom test to use an actual NGP game instead of a Neo-Geo Pocket Color one. http://bugzilla.freedesktop.org/show_bug.cgi?id=106055 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.