summaryrefslogtreecommitdiff
path: root/Source/Core/Common/ExtendedTrace.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-08-03 21:17:28 -0700
committerPierre Bourdon <delroth@gmail.com>2014-08-03 21:17:28 -0700
commit4c42b38de1b91c9494e0a044cbf305941a09ec9f (patch)
tree666a1a45c63684e04eeccc9d5e5dbc1b074b0795 /Source/Core/Common/ExtendedTrace.cpp
parente15ec56bf0237dba3db5cf969d68566af3a79194 (diff)
parent0c24e1dcf21db56c31a069484514e5e9ff760c93 (diff)
Merge pull request #428 from Sonicadvance1/x86_32-removal
Remove x86_32 support from Dolphin.
Diffstat (limited to 'Source/Core/Common/ExtendedTrace.cpp')
-rw-r--r--Source/Core/Common/ExtendedTrace.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/Source/Core/Common/ExtendedTrace.cpp b/Source/Core/Common/ExtendedTrace.cpp
index 54594eb4a9..8998a70b4b 100644
--- a/Source/Core/Common/ExtendedTrace.cpp
+++ b/Source/Core/Common/ExtendedTrace.cpp
@@ -152,14 +152,8 @@ static BOOL GetFunctionInfoFromAddresses( ULONG fnAddress, ULONG stackAddress, L
_tcscpy( lpszSymbol, _T("?") );
// Get symbol info for IP
-#if _M_X86_32
- DWORD dwDisp = 0;
- if ( SymGetSymFromAddr( GetCurrentProcess(), (ULONG)fnAddress, &dwDisp, pSym ) )
-#else
- //makes it compile but hell im not sure if this works...
DWORD64 dwDisp = 0;
if ( SymGetSymFromAddr( GetCurrentProcess(), (ULONG)fnAddress, (PDWORD64)&dwDisp, pSym ) )
-#endif
{
// Make the symbol readable for humans
UnDecorateSymbolName( pSym->Name, lpszNonUnicodeUnDSymbol, BUFFERSIZE,
@@ -313,15 +307,9 @@ void StackTrace( HANDLE hThread, const char* lpszMessage, FILE *file )
}
::ZeroMemory( &callStack, sizeof(callStack) );
-#if _M_X86_32
- callStack.AddrPC.Offset = context.Eip;
- callStack.AddrStack.Offset = context.Esp;
- callStack.AddrFrame.Offset = context.Ebp;
-#else
callStack.AddrPC.Offset = context.Rip;
callStack.AddrStack.Offset = context.Rsp;
callStack.AddrFrame.Offset = context.Rbp;
-#endif
callStack.AddrPC.Mode = AddrModeFlat;
callStack.AddrStack.Mode = AddrModeFlat;
callStack.AddrFrame.Mode = AddrModeFlat;