Fixed wrong rid.
FossilOrigin-Name: b68ccf18ef984d013232a5a94594dd6e94319b8bb33fdafb8a7b7f3e6fa7411a
This commit is contained in:
parent
298aa59372
commit
a07a72095a
@ -604,7 +604,7 @@ static inline void cw_set_hdr_wbid(uint8_t * th, int wbid)
|
|||||||
static inline void cw_set_hdr_rid(uint8_t * th, int rid)
|
static inline void cw_set_hdr_rid(uint8_t * th, int rid)
|
||||||
{
|
{
|
||||||
uint32_t d = cw_get_dword(th);
|
uint32_t d = cw_get_dword(th);
|
||||||
d &= (0x1f << 9) ^ 0xffffffff;
|
d &= (0x1f << 14) ^ 0xffffffff;
|
||||||
d |= ((rid) & 0x1f) << 14;
|
d |= ((rid) & 0x1f) << 14;
|
||||||
cw_set_dword(th, d);
|
cw_set_dword(th, d);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user