2
0
mirror of https://github.com/ValveSoftware/Proton synced 2025-08-31 14:45:23 +00:00

lsteamclient: Place vtables for some interfaces in native steamclient.dll data.

CW-Bug-Id: #20869
This commit is contained in:
Paul Gofman
2022-06-23 22:02:39 -05:00
committed by Arkadiusz Hiler
parent be4a80dac6
commit ba3d473ec1
40 changed files with 227 additions and 194 deletions

View File

@@ -985,7 +985,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(steamclient);
else:
cfile.write(f" {winclassname} *r = alloc_mem_for_iface(sizeof({winclassname}), \"{iface_version}\");\n")
cfile.write(" TRACE(\"-> %p\\n\", r);\n")
cfile.write(f" r->vtable = &{winclassname}_vtable;\n")
cfile.write(f" r->vtable = alloc_vtable(&{winclassname}_vtable, {len(methods)}, \"{iface_version}\");\n")
cfile.write(" r->linux_side = linux_side;\n")
cfile.write(" return r;\n}\n\n")