1
0
mirror of synced 2024-11-12 02:00:52 +01:00

fix: Digram sample size being too low and filter options inverted

This commit is contained in:
WerWolv 2024-02-24 19:04:58 +01:00
parent 5182a61fcc
commit ca0b6f2c6d

View File

@ -388,7 +388,7 @@ class InformationByteRelationshipAnalysis : public ContentRegistry::DataInformat
updateSettings();
}
if (ImGui::Combo("hex.builtin.information_section.relationship_analysis.filter"_lang, reinterpret_cast<int*>(&m_filter), "Nearest\0Linear\0\0")) {
if (ImGui::Combo("hex.builtin.information_section.relationship_analysis.filter"_lang, reinterpret_cast<int*>(&m_filter), "Linear Interpolation\0Nearest Neighbour\0\0")) {
updateSettings();
}
}
@ -442,7 +442,7 @@ class InformationByteRelationshipAnalysis : public ContentRegistry::DataInformat
private:
ImGuiExt::Texture::Filter m_filter = ImGuiExt::Texture::Filter::Nearest;
u64 m_sampleSize = 0x9000;
u64 m_sampleSize = 0x90000;
float m_brightness = 0.5F;
DiagramDigram m_digram;