The entire high byte is reserved for the duration type, the last bit
being reserved for 128. Since the 128 bit is unused = 0, 0xff will
effectively act as 0x7f when the bitmask is applied.
On Sep 3, 1:10 pm, "allpowert...@gmail.com" <allpowert...@gmail.com>
wrote:
> The durations aren't clearing correctly with 0xff000000.
> 0x7f000000 = ((1 << 24) | (2 << 24) | (4 << 24) | (8 << 24) | (16 <<
> 24) | (32 << 24) | (64 << 24))
> On Sep 2, 10:50 pm, Dummy <dummy...@power-tab.net> wrote:
> > I've got:
> > return (HIBYTE(HIWORD(m_dwDuration)));
> > in the v1.7 code, which would equate to 0xff000000.
> > On Aug 22, 12:17 am, "allpowert...@gmail.com" <allpowert...@gmail.com>
> > wrote:
> > > Line 121 position.h
> > > durationTypeMask = (wxUint32)0xff000000
> > > should be
> > > durationTypeMask = (wxUint32)0x7f000000