mirror of
https://github.com/suyu-emu/Yucom.git
synced 2026-09-21 13:22:43 -07:00
lsteamclient: Get memory for SteamClient interface within native steamclient.dll loader range.
CW-Bug-ID: #19605 For Mafia II.
This commit is contained in:
committed by
Arkadiusz Hiler
parent
b3c6c677bc
commit
7a90ff74ce
@@ -171,7 +171,7 @@ void __asm_dummy_vtables(void) {
|
||||
|
||||
winISteamMatchmakingServers_SteamMatchMakingServers002 *create_winISteamMatchmakingServers_SteamMatchMakingServers002(void *linux_side)
|
||||
{
|
||||
winISteamMatchmakingServers_SteamMatchMakingServers002 *r = HeapAlloc(GetProcessHeap(), 0, sizeof(winISteamMatchmakingServers_SteamMatchMakingServers002));
|
||||
winISteamMatchmakingServers_SteamMatchMakingServers002 *r = alloc_mem_for_iface(sizeof(winISteamMatchmakingServers_SteamMatchMakingServers002), "SteamMatchMakingServers002");
|
||||
TRACE("-> %p\n", r);
|
||||
r->vtable = &winISteamMatchmakingServers_SteamMatchMakingServers002_vtable;
|
||||
r->linux_side = linux_side;
|
||||
@@ -326,7 +326,7 @@ void __asm_dummy_vtables(void) {
|
||||
|
||||
winISteamMatchmakingServers_SteamMatchMakingServers001 *create_winISteamMatchmakingServers_SteamMatchMakingServers001(void *linux_side)
|
||||
{
|
||||
winISteamMatchmakingServers_SteamMatchMakingServers001 *r = HeapAlloc(GetProcessHeap(), 0, sizeof(winISteamMatchmakingServers_SteamMatchMakingServers001));
|
||||
winISteamMatchmakingServers_SteamMatchMakingServers001 *r = alloc_mem_for_iface(sizeof(winISteamMatchmakingServers_SteamMatchMakingServers001), "SteamMatchMakingServers001");
|
||||
TRACE("-> %p\n", r);
|
||||
r->vtable = &winISteamMatchmakingServers_SteamMatchMakingServers001_vtable;
|
||||
r->linux_side = linux_side;
|
||||
|
||||
Reference in New Issue
Block a user