alliedmodders / hl2sdk

Half-Life 2 SDK Mirrors
https://github.com/valvesoftware
341 stars 158 forks source link

Fix IFileSystem vtable #209

Closed old-pigeon closed 4 months ago

old-pigeon commented 4 months ago

It seems the order for the overloads of IFileSystem::Size() has changed.

psychonic commented 4 months ago

These can be misleading. The header should match the vtable order in the Linux binary, meaning that the ordering of the overloaded functions will be reversed in the Windows binary compared to the header. Are you sure that these switched order in both?

GAMMACASE commented 4 months ago

Looking through the latest linux/win bins and it's indeed changed

GAMMACASE commented 4 months ago

Thanks!