From 3c8b4b5135b16d11404be3123445d207a504c029 Mon Sep 17 00:00:00 2001 From: escape209 Date: Fri, 4 Dec 2026 23:05:56 +0000 Subject: [PATCH] MemoryWidget: Ignore Hex checkbox if Float or Double selected --- Source/Core/DolphinQt/Debugger/MemoryWidget.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp b/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp index e68731c6ef..83973aae9a 100644 --- a/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp @@ -666,7 +666,8 @@ void MemoryWidget::ValidateAndPreviewInputValue() if (input_text.startsWith(QStringLiteral("0x"), Qt::CaseInsensitive)) input_text.remove(0, 2); } - else if (m_base_check->isChecked()) + else if (m_base_check->isChecked() && + !(input_type == Type::Float32 || input_type == Type::Double)) { // Add 0x to the front of the input (after the '-', if present), but only if the user didn't // already do so.