Interpreter: Add correct alignment checks to loads/stores, cleanup

This commit is contained in:
Henrik Rydgård committed 2026-08-11 10:28:48 +02:00
1 parent 5dfeaed63b
commit d8edeb7649
6 files changed
+183 -102

No files matched your search

+1 -1
View File
@@ -516,7 +516,7 @@ void ImMemView::PopupMenu() {
if (ImGui::MenuItem("Copy value (float32)")) {
char temp[64];
snprintf(temp, sizeof(temp), "%f", Memory::IsValidAddress(curAddress_) ? Memory::Read_Float(curAddress_) : NAN);
snprintf(temp, sizeof(temp), "%f", Memory::IsValid4AlignedAddress(curAddress_) ? Memory::ReadUnchecked_Float(curAddress_) : NAN);
System_CopyStringToClipboard(temp);
}
/*