summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-07-24 21:46:46 -0400
committerLioncash <mathew1800@gmail.com>2014-08-02 13:49:51 -0400
commit0ed29e1fac94db18451a233e252976b4201bae24 (patch)
tree593bc569fe0c41f75eb2404e3110520e518c0bae /Source/Core/DolphinWX/Debugger/MemoryWindow.cpp
parenta723fd39df40515fe87cdc1ac4ac9bde9f920b40 (diff)
DolphinWX: Use a regular wxMessageBox instead of a PanicAlert for non-panic errors.
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/MemoryWindow.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/MemoryWindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp b/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp
index 0640142422..fd3b036a94 100644
--- a/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp
+++ b/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp
@@ -162,7 +162,7 @@ void CMemoryWindow::SetMemoryValue(wxCommandEvent& event)
{
if (!Memory::IsInitialized())
{
- PanicAlertT("Cannot set uninitialized memory.");
+ WxUtils::ShowErrorDialog(_("Cannot set uninitialized memory."));
return;
}
@@ -173,13 +173,13 @@ void CMemoryWindow::SetMemoryValue(wxCommandEvent& event)
if (!TryParse(std::string("0x") + str_addr, &addr))
{
- PanicAlertT("Invalid Address: %s", str_addr.c_str());
+ WxUtils::ShowErrorDialog(wxString::Format(_("Invalid address: %s"), str_addr.c_str()));
return;
}
if (!TryParse(std::string("0x") + str_val, &val))
{
- PanicAlertT("Invalid Value: %s", str_val.c_str());
+ WxUtils::ShowErrorDialog(wxString::Format(_("Invalid value: %s"), str_val.c_str()));
return;
}