Commit Graph

12 Commits

Author SHA1 Message Date
Miran Grča
4212f3601f CRC32: Correct some types. 2025-07-24 17:21:19 +02:00
OBattler
28e3d4fe08 Put those functions into the right place. 2025-07-24 16:52:17 +02:00
OBattler
91d2af521d CRC32: Replace local with static. 2025-07-24 16:15:36 +02:00
OBattler
eb0d73f6a1 CRC32: Two functions needed on ARM. 2025-07-24 15:30:02 +02:00
OBattler
8944c920ae CD-ROM: Parity and CRC checking support, System Shock 2 now works with a directly mounted .CUE image as well. 2025-07-24 14:12:20 +02:00
Jasmine Iwanek
026f765495 Some codeql fixes 2025-06-29 00:12:06 -04:00
Cacodemon345
dd0e626133 Set LC_NUMERIC to "C" in program startup
For whatever fucking reason, glibc's functions dealing with decimal numbers apparently can only accept either commas or dots in strings, but not both. Meanwhile, both Windows and macOS have no apparent issues accepting both.

I will never understand why they decided to even consider such behaviour acceptable, especially since those ARE used for parsing decimal numbers in many programs, but I guess it's their own version of Not Invented Here syndrome that they (or anyone else) can't be bothered to deal with. This is not how good C standard libraries are written, at all.
2025-03-29 01:18:37 +06:00
OBattler
63f106a0fd Added plat_break() for raising breakpoints and warning() and log_warning() to raise visible non-fatal warnings to the user. 2025-03-22 00:49:20 +01:00
OBattler
5aac2b4f8f Merge remote-tracking branch 'origin/master' into cdrom_changes 2025-03-10 17:35:11 +01:00
OBattler
a386bd015f Merge remote-tracking branch 'origin/master' into cdrom_changes 2025-03-10 16:57:56 +01:00
OBattler
c6dfd688f4 Split off the CRC code to its own module. 2025-02-15 07:09:14 +01:00
OBattler
48f42af745 Moved some files to the utils folder, that's where the CRC code is soon going to reside as well. 2025-02-13 10:31:12 +01:00