mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-05 22:18:03 +01: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:
parent
b3c6c677bc
commit
7a90ff74ce
39 changed files with 331 additions and 187 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue