summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/windows/winmain.c
diff options
context:
space:
mode:
author Vladimir Kryvian <meffi@lab313.ru>2015-08-25 16:39:50 +0300
committer Vladimir Kryvian <meffi@lab313.ru>2015-08-25 16:39:50 +0300
commit0170d6b9957bca15070ddf570476a3d5c6a9b80a (patch)
treece12f3bf9af94bd4ad436820e7faa0b0e7a7bb3a /src/osd/windows/winmain.c
parent4809f285585aa27b492bfc8bfdf8a35cbe0d7fff (diff)
Fixed GetModuleHandle to be universal.
Diffstat (limited to 'src/osd/windows/winmain.c')
-rw-r--r--src/osd/windows/winmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/windows/winmain.c b/src/osd/windows/winmain.c
index 54afff74298..74317eb30aa 100644
--- a/src/osd/windows/winmain.c
+++ b/src/osd/windows/winmain.c
@@ -1321,7 +1321,7 @@ FPTR symbol_manager::get_text_section_base()
dynamic_bind<PIMAGE_NT_HEADERS (WINAPI *)(PVOID)> image_nt_header(TEXT("dbghelp.dll"), "ImageNtHeader");
// start with the image base
- PVOID base = reinterpret_cast<PVOID>(GetModuleHandle(NULL));
+ PVOID base = reinterpret_cast<PVOID>(GetModuleHandleUni());
assert(base != NULL);
// make sure we have the functions we need