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

bin2c: Support mman/mmap-less platforms (MSYS2) #583

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

F0bes
Copy link
Contributor

@F0bes F0bes commented Mar 27, 2024

Fixes a regression for the MSYS2 platform from #538
For whatever reason, mman support for MSYS2 was refused and they've been mman-less ever since.
I kept the LUT for the MSYS2 platform, but fell back to the generic posix read/write functions for IO. There's memory mapping support through the win32 api, but I don't it's worth implementing for this (hopefully-soon-to-be-abandoned) platform.

Also, I don't know why the formatting changed. I've run the file through clang-format.

@fjtrujy fjtrujy merged commit 1221c5b into ps2dev:master Mar 27, 2024
9 checks passed
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