mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: CRC64 parameters being limited to 32bit (#1975)
This addresses #1974
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user