Jump to content

Game crashes on startup


LukeV1
 Share

Recommended Posts

I've got a working patch now.

Just replaced

WARN_IF_FALSE(SetEndOfFile(hFile));

by

RETURN_STATUS_IF_ERR(SetEndOfFile(hFile));

in wfilesystem.cpp and all of a sudden everything works. Not sure if it breaks/ slows down something, but I don't think so.

Don't ask me why that works, but it does work (at least for me). Didn't create a diff in Phabricator since I never used it and don't want to destroy something...

Link to comment
Share on other sites

18 minutes ago, LukeV1 said:

I've got a working patch now.

Just replaced


WARN_IF_FALSE(SetEndOfFile(hFile));

by


RETURN_STATUS_IF_ERR(SetEndOfFile(hFile));

in wfilesystem.cpp and all of a sudden everything works. Not sure if it breaks/ slows down something, but I don't think so.

Don't ask me why that works, but it does work (at least for me). Didn't create a diff in Phabricator since I never used it and don't want to destroy something...

Don't think you could destroy anything by uploading a diff in phabricator. :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...