summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-08-13 19:16:03 +0200
committerbunnei <bunneidev@gmail.com>2014-08-13 19:16:03 +0200
commit73c53b5eb86e30dcc49223bc07c68d4fa66e11ff (patch)
tree55630cc0ccd5fb3db9115eaad35b29a087a7d809
parentMerge pull request #42 from archshift/glexp (diff)
parentSimplified if-tree in extended_trace.cpp (diff)
downloadyuzu-73c53b5eb86e30dcc49223bc07c68d4fa66e11ff.tar
yuzu-73c53b5eb86e30dcc49223bc07c68d4fa66e11ff.tar.gz
yuzu-73c53b5eb86e30dcc49223bc07c68d4fa66e11ff.tar.bz2
yuzu-73c53b5eb86e30dcc49223bc07c68d4fa66e11ff.tar.lz
yuzu-73c53b5eb86e30dcc49223bc07c68d4fa66e11ff.tar.xz
yuzu-73c53b5eb86e30dcc49223bc07c68d4fa66e11ff.tar.zst
yuzu-73c53b5eb86e30dcc49223bc07c68d4fa66e11ff.zip
Diffstat (limited to '')
-rw-r--r--src/common/extended_trace.cpp22
1 files changed, 9 insertions, 13 deletions
diff --git a/src/common/extended_trace.cpp b/src/common/extended_trace.cpp
index 77425bd0d..0a1c6a67a 100644
--- a/src/common/extended_trace.cpp
+++ b/src/common/extended_trace.cpp
@@ -173,20 +173,16 @@ static BOOL GetFunctionInfoFromAddresses( ULONG fnAddress, ULONG stackAddress, L
PCSTR2LPTSTR( lpszNonUnicodeUnDSymbol, lpszUnDSymbol );
// I am just smarter than the symbol file :)
- if ( _tcscmp(lpszUnDSymbol, _T("_WinMain@16")) == 0 )
+ if (_tcscmp(lpszUnDSymbol, _T("_WinMain@16")) == 0)
_tcscpy(lpszUnDSymbol, _T("WinMain(HINSTANCE,HINSTANCE,LPCTSTR,int)"));
- else
- if ( _tcscmp(lpszUnDSymbol, _T("_main")) == 0 )
- _tcscpy(lpszUnDSymbol, _T("main(int,TCHAR * *)"));
- else
- if ( _tcscmp(lpszUnDSymbol, _T("_mainCRTStartup")) == 0 )
- _tcscpy(lpszUnDSymbol, _T("mainCRTStartup()"));
- else
- if ( _tcscmp(lpszUnDSymbol, _T("_wmain")) == 0 )
- _tcscpy(lpszUnDSymbol, _T("wmain(int,TCHAR * *,TCHAR * *)"));
- else
- if ( _tcscmp(lpszUnDSymbol, _T("_wmainCRTStartup")) == 0 )
- _tcscpy(lpszUnDSymbol, _T("wmainCRTStartup()"));
+ else if (_tcscmp(lpszUnDSymbol, _T("_main")) == 0)
+ _tcscpy(lpszUnDSymbol, _T("main(int,TCHAR * *)"));
+ else if (_tcscmp(lpszUnDSymbol, _T("_mainCRTStartup")) == 0)
+ _tcscpy(lpszUnDSymbol, _T("mainCRTStartup()"));
+ else if (_tcscmp(lpszUnDSymbol, _T("_wmain")) == 0)
+ _tcscpy(lpszUnDSymbol, _T("wmain(int,TCHAR * *,TCHAR * *)"));
+ else if (_tcscmp(lpszUnDSymbol, _T("_wmainCRTStartup")) == 0)
+ _tcscpy(lpszUnDSymbol, _T("wmainCRTStartup()"));
lpszSymbol[0] = _T('\0');