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
This commit is contained in:
Soren Jorvang 2010-05-26 21:03:42 +00:00
parent f38ba8fcfe
commit 8949c1e309
3 changed files with 12 additions and 1 deletions

View file

@ -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)