winmm: Prepare transition of MCI parser to 64bit.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Wed Apr 14 03:45:34 CDT 2010


Hi,

This patch helps simplify my 64bit parser patch (that Eric found ugly).

%s is presumably unusable with data[N] in 64bit because of mixed
DWORD/DWORD_PTR-sized elements, hence broken alignment.

Thus I've moved the printing of strings into the parser loop.
The memory dump part remains.

Aborting one attempt, I decided not to write a patch that would
enable MCI_RETURN to be located at an arbitrary position.  The
reason is that I know of no resource that would use that feature,
so it would not be possible to test it.
Instead, I've added a safety-check that rejects MCI_RETURN not
in pole position.

Regards,
 Jörg Höhle





-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winmm-Change-TRACE-in-MCI-parser-to-prepare-for-64b.patch
Type: application/octet-stream
Size: 3252 bytes
Desc: 0001-winmm-Change-TRACE-in-MCI-parser-to-prepare-for-64b.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100414/764acbb0/attachment.obj>


More information about the wine-patches mailing list