Closed ryanfantus closed 3 years ago
Startup crash is caused by a list of issues uncovered now that File Loading/Pathing is fixed:
fnd1st()
takes in a wildcard. Need to verify FindFile
supporst wildcard, or create a FindDirectory
method in the FileHelper
and append the wildcard at the end to do a Directory.GetFiles()
fndblk
struct that is passed in isn't being set. Based on looking at Lunatix, this struct is ~43 bytes in size, with the filename starting at byte 30fndnxt()
ordinal which would find the next file from the previous fnd1st()
/fndnxt()
, returning 0
if there are no more matching files
Module Information
Describe the bug
To Reproduce Steps to reproduce the behavior:
Expected behavior Best case: Game runs. Worst case: Game doesn't run, but crash doesn't take down MBBSemu.
Software Information: