Commit Graph

6 Commits

Author SHA1 Message Date
Luke Street 9120080eb5
Support MWCC 4.1+ series compilers (#1)
This implements support for MWCC 4.1+ (aka GC 3.0a3 and above).

Notable changes:
- Hook `CreateFileMappingA` / `MapViewOfFile`: These compilers use these functions rather than `ReadFile` for headers.
- Hook `MultiByteToWideChar`: This function's behavior changed in Windows 2000 SP4 / Windows XP, and certain compiler versions rely on the old behavior. This fully reimplements it for CP-932 with the legacy behavior.
- Explicitly fail on invalid UTF-8 inputs. Add a warning log when the Shift JIS output is invalid.
2024-10-27 16:18:43 -06:00
Luke Street b85eab4cc8 Hook `GetModuleFileNameA` for mwldeppc GC 3.0+ 2023-09-18 21:59:40 -04:00
Luke Street db4f9af254 Put encoding_rs/simd-accel behind a nightly feature 2023-09-08 17:17:31 -04:00
Luke Street 808280cb10 Hook `IsDBCSLeadByte`; cleanup & improvements 2023-09-08 16:57:00 -04:00
Luke Street 2b472b0ccd Cleanup & add README, LICENSE, CI config 2023-09-07 16:29:18 -04:00
Luke Street 2b7cb77400 Initial commit 2023-09-07 00:27:47 -04:00