From 289a718446e01b076c4b231b92f9f6f44a0bda23 Mon Sep 17 00:00:00 2001 From: roeming Date: Thu, 30 Apr 2026 17:10:33 -0400 Subject: [PATCH] fix comment wording --- src/dusk/imgui/ImGuiSaveEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dusk/imgui/ImGuiSaveEditor.cpp b/src/dusk/imgui/ImGuiSaveEditor.cpp index 6561e5b936..8485060d56 100644 --- a/src/dusk/imgui/ImGuiSaveEditor.cpp +++ b/src/dusk/imgui/ImGuiSaveEditor.cpp @@ -1424,7 +1424,7 @@ namespace dusk { // also our byte index has to become a u32 index // dividing byte index by sizeof(u32) gets us the u32 index - // but in big endian, the first byte sequencially is 24 bits we have to skip + // but in big endian, the first byte is the highest order byte of the u32 // so we skip 24 bytes for the first byte, 16 for the second, etc // essentially (3 - (x % 4)), reversing the modulus, 0=3, 1=2 auto bitsToSkip = 8 * ((sizeof(u32) - 1) - (byteInd % sizeof(u32)));