Fix db index
This commit is contained in:
parent
9ce3a008dd
commit
6512b73164
@ -193,7 +193,7 @@ int GetLocalIdandDbidx(uint64_t id, uint64_t *localId, uint32_t *dbIdx)
|
|||||||
}
|
}
|
||||||
|
|
||||||
*localId = strtoull((const char *)(field.content.data()), NULL, 10);
|
*localId = strtoull((const char *)(field.content.data()), NULL, 10);
|
||||||
*dbIdx = (uint32_t)GET_QWORD(GET_QWORD(dbAddr + 0x28) + 0x1E8);
|
*dbIdx = (uint32_t)(GET_QWORD(GET_QWORD(dbAddr + 0x28) + 0x1E8) >> 32);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user