wxWidgets/MSW: minor fix for debug assertions under WinXP OSes.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3852 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2010-09-28 19:42:36 +00:00
parent 0bb42e1331
commit c48ae28247
1 changed files with 2 additions and 1 deletions

View File

@ -85,7 +85,8 @@ bool wxDbgHelpDLL::BindFunctions(const wxDynamicLibrary& dllDbgHelp)
// of WinDbgHlp (v6.5 or later). If it binds as NULL, that's ok. Its only needed in
// order to reload symbols for apps that dynamically unload/reload plugins.
SymRefreshModuleList = (SymRefreshModuleList_t)dllDbgHelp.GetSymbol(_T("SymRefreshModuleList"));
SymRefreshModuleList = (SymRefreshModuleList_t) (dllDbgHelp.HasSymbol(_T("SymRefreshModuleList")) ?
dllDbgHelp.GetSymbol(_T("SymRefreshModuleList")) : NULL);
return true;
}