Commit Graph

6 Commits

Author SHA1 Message Date
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