diff options
| author | Soren Jorvang <soren.jorvang@gmail.com> | 2010-05-26 21:03:42 +0000 |
|---|---|---|
| committer | Soren Jorvang <soren.jorvang@gmail.com> | 2010-05-26 21:03:42 +0000 |
| commit | 8949c1e30949cfe8736ee59b19b31cf378fae20d (patch) | |
| tree | e64fa74b01dc2c03763cb818843040a96e0d519a /Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp | |
| parent | f38ba8fcfe2166345f3884ac67d958bfaf2ef739 (diff) | |
If the format is not one of the expected ones, just return rather than
proceeding with uninitialized data.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5495 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp')
| -rw-r--r-- | Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp b/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp index a4f8904fbe..cb0895dd89 100644 --- a/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp +++ b/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp @@ -538,6 +538,9 @@ void CCodeWindow::OnToggleDLLWindow(int Id, bool _Show, int i) PLUGINTYPE = PLUGIN_TYPE_VIDEO; Title = wxT("Video"); break; + default: + PanicAlert("CCodeWindow::OnToggleDLLWindow"); + return; } if (_Show) |
