fuzziqersoftware / resource_dasm

Classic Mac OS resource fork and application disassembler, with reverse-engineering tools for specific applications
MIT License
114 stars 13 forks source link

Better error message when rendering PICTs with unknown QuickTime codec #31

Closed Kristine1975 closed 2 years ago

Kristine1975 commented 2 years ago

Format the QuickTime codec's OSType as a string, not a number. Before: (compressed QuickTime data uses codec 57524C45); after: (compressed QuickTime data uses codec 'WRLE' [0x57524C45]).

The inclusion of ResourceFile.hh just for string_for_resource_type is a bit ugly; these conversion-to-string functions should probably get their own file.