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
@@ -597,7 +597,7 @@ void CtrlMemView::onMouseUp(WPARAM wParam, LPARAM lParam, int button) {
{
auto memLock = Memory::Lock();
std::ostringstream stream;
stream << (Memory::IsValidAddress(curAddress_) ? Memory::Read_Float(curAddress_) : NAN);
stream << (Memory::IsValid4AlignedAddress(curAddress_) ? Memory::ReadUnchecked_Float(curAddress_) : NAN);
auto temp_string = stream.str();
W32Util::CopyTextToClipboard(wnd, temp_string);
}