fix: CRC64 parameters being limited to 32bit (#1975)
This addresses #1974
This commit is contained in:
parent
01af2f364c
commit
0ff1bb392c
@ -899,7 +899,7 @@ namespace ImGuiExt {
|
||||
}
|
||||
|
||||
bool InputHexadecimal(const char *label, u32 *value, ImGuiInputTextFlags flags) {
|
||||
return InputIntegerPrefix(label, "0x", value, ImGuiDataType_U32, "%lX", flags | ImGuiInputTextFlags_CharsHexadecimal);
|
||||
return InputIntegerPrefix(label, "0x", value, ImGuiDataType_U32, "%X", flags | ImGuiInputTextFlags_CharsHexadecimal);
|
||||
}
|
||||
|
||||
bool InputHexadecimal(const char *label, u64 *value, ImGuiInputTextFlags flags) {
|
||||
|
@ -219,9 +219,9 @@ namespace hex::plugin::hashes {
|
||||
size_t m_selectedCrc = 0;
|
||||
|
||||
u32 m_width = 3;
|
||||
u32 m_polynomial = 0;
|
||||
u32 m_initialValue = 0;
|
||||
u32 m_xorOut = 0;
|
||||
u64 m_polynomial = 0;
|
||||
u64 m_initialValue = 0;
|
||||
u64 m_xorOut = 0;
|
||||
bool m_reflectIn = false, m_reflectOut = false;
|
||||
};
|
||||
|
||||
@ -731,4 +731,4 @@ namespace hex::plugin::hashes {
|
||||
ContentRegistry::Hashes::add<HashWithKey>(HashFactory::Hash128::CreateMurmurHash3_x64_128);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user