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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...