883 Commits

Author SHA1 Message Date
Stenzek
7116a80435
Common: Add RESTRICT macro
Gotta coerce the compiler into generating better code.
2024-12-19 16:50:03 +10:00
Stenzek
5687dd22bd
PIO: Add basic flash cartridge support 2024-12-13 23:22:57 +10:00
Stenzek
e137d3b5c7
Common: Fix rectangle rempty() on ARM32 2024-12-10 16:49:45 +10:00
Stenzek
0bb83f6fd7
OpenGLDevice: Fix inverted cache file lock 2024-12-10 13:17:06 +10:00
Stenzek
2e6deca76f
FileSystem: Don't use POSIX locks on Android
Requires SDK 24, and it's pointless anyway.
2024-12-10 02:26:54 +10:00
Stenzek
2999f15d7a
StringUtil: Add UTF-16 encoding/decoding functions 2024-12-08 19:44:27 +10:00
Stenzek
7f3687de81
Common: Report assertion failure/panic message for Android 2024-12-08 14:19:25 +10:00
Stenzek
e22d67f4aa
GSVector: Add 4x4 matrix class 2024-12-06 15:10:15 +10:00
Stenzek
c9c4307871
FileSystem: Android build fix 2024-12-06 15:10:15 +10:00
Stenzek
042a2d72f7
Threading: Add IsCallingThread() to ThreadHandle 2024-12-06 15:10:15 +10:00
Stenzek
04e472d088
FileSystem: Add non-blocking option to POSIXLock 2024-12-03 17:29:47 +10:00
Stenzek
d93c713fb7
FileSystem: Make POSIXLock moveable 2024-12-03 17:29:47 +10:00
Stenzek
e9848a6182
Misc: Collapse more niche log channels 2024-12-01 23:21:33 +10:00
Stenzek
0faa9cf650
Build: Add Devel configuration
Gets you debug assertions and logging, while still producing an
optimized executable.
2024-12-01 23:21:33 +10:00
Stenzek
0f51472d64
Misc: Android build fix 2024-11-30 01:09:41 +10:00
Stenzek
aafc029682
Misc: Un-namespace Timer 2024-11-29 20:13:37 +10:00
Stenzek
ff3214b8f7
SmallString: Add span helpers 2024-11-29 17:06:20 +10:00
Stenzek
d3246deb77
ThirdParty: Add aes.cpp 2024-11-29 17:06:06 +10:00
Stenzek
83274c7e3b
ThirdParty/SmallVector: Compile fixes 2024-11-29 17:05:18 +10:00
Stenzek
b39f1558ec
StringUtil: Add Base64 decode/encode functions 2024-11-29 17:05:02 +10:00
Stenzek
c0b4627c11
StringUtil: Drop old MacOS workaround 2024-11-29 15:25:36 +10:00
Stenzek
bbe6612b25
Common: Add SHA256Digest 2024-11-29 15:20:33 +10:00
Stenzek
da501b9294
StringUtil: Add ParseFixedHexString() 2024-11-29 15:04:25 +10:00
Stenzek
dac5dd562b
HTTPDownloader: Improve error reporting
Give something human-readable when an error occurs.
2024-11-29 14:00:55 +10:00
Stenzek
57d3aa4850
FileSystem: Add Error parameter to StatFile() 2024-11-27 17:50:43 +10:00
Stenzek
1434507b41
FileSystem: Add span overload for WriteBinaryFile()
And normalize filename -> path parameter names.
2024-11-27 17:50:43 +10:00
Stenzek
3ff1b04576
GPUDevice: Support generating mipmaps 2024-11-24 23:29:28 +10:00
Stenzek
affbdfc350
Timer: Fix >1 second sleeps on MacOS 2024-11-24 23:29:28 +10:00
Stenzek
e987b56aae
Log: Remove unused ISOReader channel 2024-11-23 18:59:10 +10:00
Stenzek
5c03e1d940
Misc: Fix alignment errors on ARM32 2024-11-23 18:52:45 +10:00
Stenzek
e6892e0a54
Common: Fix incorrect condition in PreviousPow2/NextPow2 2024-11-21 12:31:00 +10:00
Stenzek
6c1b98e46a
GPU/SW: Fix 256-bit AVX2 path 2024-11-18 14:19:47 +10:00
Stenzek
d5e2db0dee
Misc: Fix new clang-cl warnings 2024-11-16 14:06:14 +10:00
Stenzek
350429466a
FileSystem: Move separator macro to path.h 2024-11-14 00:17:27 +10:00
Stenzek
3f41dcc97d
Log: Add option coloured variants 2024-11-11 14:04:48 +10:00
Stenzek
e3e0fe6445
Log: Prepend timestamp to multi-line messages 2024-11-10 13:23:25 +10:00
Stenzek
886ef4cc59
WAVWriter: Add matching reader class 2024-11-06 13:46:48 +10:00
Stenzek
ead9e56c4d
System: Support loading ELF files 2024-11-05 17:54:12 +10:00
Stenzek
65f3dcbe9b
HeapArray: Fix assignment/move with aligned variant 2024-11-05 17:53:42 +10:00
Stenzek
ca2ed61dba
Timers: Work around possible MSVC codegen bug
Fixes very strange behaviour in games in MSVC LTCG build.
2024-11-04 23:03:51 +10:00
Stenzek
a8b588371a
SettingsInterface: Add missing const qualifiers 2024-11-03 20:06:32 +10:00
Stenzek
6551358212
Log: Replace channel string search with bitset
Knocks off around ~20KB of code.
2024-10-31 14:41:33 +10:00
Stenzek
0dc78e4c23
Timer: Fix sleep timer handle leak 2024-10-30 15:19:10 +10:00
Stenzek
b86fdc1cc1
Threading: Add error checking to semaphore 2024-10-30 15:19:06 +10:00
Stenzek
631f32a4c9
Common: Add ZipHelpers 2024-10-22 20:46:35 +10:00
Stenzek
5c4a9f9f1c
MinizipHelpers: Close file after reading 2024-10-20 12:43:11 +10:00
Stenzek
972a0693b2
Memmap: Compatibility with old libc without MAP_FIXED_NOREPLACE 2024-10-18 20:48:29 +10:00
Stenzek
2079bac40b
StringUtil: Add FromCharsWithOptionalBase() 2024-10-13 16:43:22 +10:00
Stenzek
0d05548459
MinizipHelpers: Add ReadZipFileToString() 2024-10-13 16:43:22 +10:00
Stenzek
d8fef6f22e
GameDatabase: Store strings as views
Saves duplicating everything in memory, and a ton of heap allocations.
2024-10-13 16:43:22 +10:00