mirror of
https://github.com/holub/mame
synced 2025-07-04 09:28:51 +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()
|
HMODULE WINAPI GetModuleHandleUni()
|
||||||
{
|
{
|
||||||
MEMORY_BASIC_INFORMATION mbi;
|
MEMORY_BASIC_INFORMATION mbi;
|
||||||
static int dummy;
|
VirtualQuery(GetModuleHandleUni, &mbi, sizeof(mbi));
|
||||||
VirtualQuery(&dummy, &mbi, sizeof(mbi));
|
|
||||||
return (HMODULE)mbi.AllocationBase;
|
return (HMODULE)mbi.AllocationBase;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user