[physfs] Fix PhysFS_Init() Fails On Windows and Does Not Set An Error Code
Bruno Carvalho
b.camara at live.com
Mon Oct 1 17:31:48 EDT 2018
To fix http://icculus.org/pipermail/physfs/2018-September/001271.html
Need change on
https://hg.icculus.org/icculus/physfs/file/tip/src/physfs_platform_windows.c#l568
DWORD psize = 0;
to
DWORD psize = 1;
Microsoft GetUserProfileDirectoryW in last update reject 0 as value
and return "invalid param", if change to 1 the function will work.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/physfs/attachments/20181001/3b9f1f4f/attachment.html>
More information about the physfs
mailing list