diff options
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/MemoryWidget.cpp')
| -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. |
