mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 02:33:43 +01:00
Interpreter: Add correct alignment checks to loads/stores, cleanup
This commit is contained in:
1 parent
5dfeaed63b
commit
d8edeb7649
6 files changed
+183
-102
No files matched your search
@@ -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);
|
||||
}
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user