mirror of
https://github.com/holub/mame
synced 2025-04-23 17:00:53 +03:00
Fixed GetModuleHandleUni
This commit is contained in:
parent
0170d6b995
commit
5a36c43800
@ -130,7 +130,6 @@ BOOL win_is_gui_application(void)
|
||||
HMODULE WINAPI GetModuleHandleUni()
|
||||
{
|
||||
MEMORY_BASIC_INFORMATION mbi;
|
||||
static int dummy;
|
||||
VirtualQuery(&dummy, &mbi, sizeof(mbi));
|
||||
VirtualQuery(GetModuleHandleUni, &mbi, sizeof(mbi));
|
||||
return (HMODULE)mbi.AllocationBase;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user