.MPTM module signature written backwards

Started by pelya, May 09, 2007, 17:17:44

Previous topic - Next topic

pelya

Full Version:
OpenMPT v1.17.02.46

Description of the bug:
.mptm files contain 4-byte signature at the beginning that reads ".mpt". It written as DWORD in 4-th line of "soundlib/MPT_module.cpp". But since PC is little-endian machine the saved module contains string "tpm." at the beginning. Just bad-looking.

How often does it happen?:
Until someone fixes it :) . This should be done as soon as possible until there's not much .mptm modules around   :wink: .

How to reproduce (step by step description):
View .mptm file with binary file viewer

--- I'm freak that uses binary file viewer alot :nuts:

Sam_Zen

Nothing wrong with a binary file viewer
0.618033988