Commit Graph

817 Commits

Author SHA1 Message Date
a7747c5be3 Common: Add 256-bit integer vector wrapper 2024-09-21 22:26:05 +10:00
96ece5de1c SmallString: MSVC warning fix 2024-09-19 22:25:35 +10:00
369599202c StringUtil: Speed up EncodeHex()/append_hex() 2024-09-18 21:42:46 +10:00
401295ebdb Common: Allow PRINTFLIKE to work on Clang
And thus clang-cl.
2024-09-18 21:31:06 +10:00
d330dca38a MetalDevice: Use CocoaTools methods 2024-09-13 19:52:09 +10:00
ad67ab7ec3 MetalDevice: Use TranspileAndCreateShaderFromSource() 2024-09-13 17:31:59 +10:00
ddcb0cb541 Misc: Warning fixes 2024-09-10 23:53:27 +10:00
d1770b616f Settings: Default console logging to running from TTY 2024-09-09 20:55:15 +10:00
e2a3fe14f0 Cheats: Prevent inlining of memory functions
Clang is way too eager here and inlines the whole thing hundreds of
times within CheatList::Apply().
2024-09-09 18:53:51 +10:00
4c31218d2b GPUDevice: Add API version field
Also tie shader caches to API version and device LUID. That way we don't
have tons of cache files, and they're regenerated if the GPU/driver
changes.
2024-09-08 23:33:05 +10:00
3078339f64 Common: Extract out ryml helpers 2024-09-09 00:35:31 +10:00
b10f043350 StringUtil: Fix typo 2024-09-09 00:35:12 +10:00
1956575710 Cheats: Fix detection of ungrouped cheat import 2024-09-08 11:49:59 +10:00
9d6ec23dc4 Common: Fix GSVector natvis 2024-09-07 21:53:32 +10:00
87eded4bce FileSystem: Fix FD leak with atomic updated file on Linux
Also add the ability to explicitly commit and check for errors.
2024-09-03 20:43:10 +10:00
6d0f92d4fb dep/fmt: Bump to v11.0.2 2024-09-03 17:54:43 +10:00
6a3b1a2725 MDEC: Vectorize 16 and 24-bit copy-out
Speedup of 15% and 6% in FMV playback respectively.
2024-09-02 17:57:26 +10:00
88ee70ef8a Misc: Remove unused files 2024-09-01 23:17:17 +10:00
7f4e5d55db Misc: Update copyright headers 2024-09-01 22:08:31 +10:00
14ab642ff3 Common: Add aligned_unique_ptr 2024-09-01 13:02:58 +10:00
81c9bdeeef GSVector: Add a bunch of fp64 operations 2024-09-01 12:00:09 +10:00
cdba1fe25a Common: Rename iNN -> sNN 2024-08-31 14:38:20 +10:00
c7a6e7e483 SHA1Digest: Span-ify 2024-08-26 21:27:51 +10:00
ae2e79f401 Util: Add CompressHelpers 2024-08-26 21:27:30 +10:00
88e4bf6aad SmallString: Tidy-up and add wide string helpers 2024-08-26 14:06:18 +10:00
707453b596 FileSystem: Swap vector for DynamicHeapArray
No point zeroing it out.
2024-08-25 22:13:18 +10:00
c8e61307b2 StringUtil: Use unicode replacement character in DecodeUTF8() 2024-08-25 13:56:01 +10:00
bda6869084 Qt: Implement per-game controller configuration 2024-08-24 14:10:25 +10:00
44a12db931 Log: Flush on every write
Slower, but if we crash, need the whole thing.
2024-08-18 12:18:10 +10:00
2e2451998c Misc: Fix ARM32 build (again) 2024-08-14 21:39:29 +10:00
cbbfc2f11a StringUtil: Add BytePatternSearch() 2024-08-13 14:47:11 +10:00
290c44f4c0 Error: Add TakeDescription() 2024-08-11 20:43:13 +10:00
8ad133dbc0 FileSystem: Fix crash on file open fail in WriteAtomicRenamedFile() 2024-08-09 12:36:21 +10:00
81295c8a7d FileSystem: Correctly use lstat() on Linux 2024-08-06 15:52:26 +10:00
e499f9052a MemMap: Fix inverted condition 2024-08-05 13:08:42 +10:00
6c5ffba18e MemMap: Fix object leak on fallocate() failure 2024-08-05 12:39:17 +10:00
02fbfae6a0 System: Add advanced 'Export Shared Memory' option
Memory map is exported as duckstation_<pid>. Previously, this only
worked on Windows, now it is extended to Linux as well.
2024-08-04 20:28:07 +10:00
3a83c4265c Misc: Fix a bunch of code analysis warnings
Some of which were even actual errors.
2024-08-02 23:56:07 +10:00
0321a2cdc4 Common: Purge ByteStream 2024-07-29 17:27:32 +10:00
6ce9e571ed Misc: Purge remaining ByteStream references 2024-07-29 17:27:32 +10:00
a6518ff9dc System: Rewrite save state I/O
No more ByteStream or virtual calls for every piece of data.
2024-07-29 17:27:32 +10:00
c83b5fdd05 FileSystem: Add AtomicRenamedFile 2024-07-29 17:27:32 +10:00
ab7a3e1934 BinaryReaderWriter: Add class for files as well as spans 2024-07-29 17:27:32 +10:00
876f212685 DynamicLibrary: Add patch to versioned filename 2024-07-28 19:06:17 +10:00
40356fc381 FileSystem: Remove unnecessary checks 2024-07-28 19:06:17 +10:00
7a3a72ec3d GPU: Add display rotation option 2024-07-26 23:09:33 +10:00
f1f89d3f0f BinarySpanReaderWriter: Add subspan methods 2024-07-21 13:33:41 +10:00
56dd9878e1 Misc: RISC-V build fixes 2024-07-19 22:25:57 +10:00
0815aedca2 FileSystem: Drop use of stat64()
We define _FILE_OFFSET_BITS on 32-bit Linux anyway.
2024-07-19 22:25:57 +10:00
7217536fdd MD5Digest: Span-ify 2024-07-19 15:51:25 +10:00