lsteamclient: Get memory for SteamClient interface within native steamclient.dll loader range.

CW-Bug-ID: #19605

For Mafia II.
This commit is contained in:
Paul Gofman 2021-11-03 18:00:12 +03:00 committed by Arkadiusz Hiler
parent b3c6c677bc
commit 7a90ff74ce
39 changed files with 331 additions and 187 deletions

View file

@ -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;