Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix FindFirstFileA failing due to an empty parent and add locale LCType stubs #71

Merged
merged 3 commits into from
Mar 23, 2024

Conversation

AngheloAlf
Copy link
Contributor

Those fixes are required to get the GCC SN 2.73a for PS2 compiler working on wibo.

  • The FindFirstFileA fix handles the case where the passed path is a relative path with no parent (ie include).
    • The fix treats said empty parent as the current directory (.)
  • The str_for_LCType fix adds a few extra types and changes the function to return an empty string for unrecognized LCTypes.
    • For whatever reason as.exe was requesting all kinds of whacky info I'm pretty sure it wasn't going to use (why it wanted stuff like the locale currency symbol?)

@encounter encounter merged commit 0fbe877 into decompals:main Mar 23, 2024
1 check passed
@AngheloAlf AngheloAlf deleted the gcc-sn-ps2-fixes branch March 23, 2024 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants