diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2026-12-04 19:14:21 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-12-04 19:14:21 -0600 |
| commit | c7787c1330ee95c94dfd79fad225f529f9caaa9e (patch) | |
| tree | d29cd0f4bd7ed05882bb10c30f57542e302a9f29 | |
| parent | 79557c168317824ea48543e81d237086a885fc9f (diff) | |
| parent | 3c8b4b5135b16d11404be3123445d207a504c029 (diff) | |
Merge pull request #15087 from escape209/work
MemoryWidget: Ignore Hex checkbox if Float or Double selected
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/MemoryWidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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. |
