mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
Fixed GetModuleHandleUni
VirtualQuery first argument fixed.
This commit is contained in:
parent
5a36c43800
commit
8b2b67d9e4
@ -130,6 +130,6 @@ BOOL win_is_gui_application(void)
|
||||
HMODULE WINAPI GetModuleHandleUni()
|
||||
{
|
||||
MEMORY_BASIC_INFORMATION mbi;
|
||||
VirtualQuery(GetModuleHandleUni, &mbi, sizeof(mbi));
|
||||
VirtualQuery((LPCVOID)GetModuleHandleUni, &mbi, sizeof(mbi));
|
||||
return (HMODULE)mbi.AllocationBase;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user