ModPlug Central

OpenMPT Development (Archive) => Bug Reports => Bug Report Archive => Topic started by: pelya on May 09, 2007, 17:17:44

Title: .MPTM module signature written backwards
Post by: pelya on May 09, 2007, 17:17:44
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:
Title: .MPTM module signature written backwards
Post by: Sam_Zen on May 09, 2007, 23:50:20
Nothing wrong with a binary file viewer