Commit Graph

781 Commits

Author SHA1 Message Date
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
41e15539f9 FileSystem: Add Error parameter to more functions 2024-07-19 15:51:25 +10:00
6176a21ff1 ProgressCallback: Eliminate redundancy and drop C format strings 2024-07-19 15:51:25 +10:00
24ef76bfee StringUtil: Purge StdStringFromFormat() 2024-07-19 14:01:16 +10:00
59a2309a83 GPU: Use half width vector types where appropriate 2024-07-14 21:25:48 +10:00
d70f5ddb32 GSVector: Remove unused functions 2024-07-14 21:25:48 +10:00
ec851c9d6d FileSystem: Add FTruncate64() 2024-07-09 21:38:38 +10:00
40048cbbc8 fix: remove duplicated code 2024-07-07 12:45:49 +10:00
eba0794b4f FileSystem: Add Error to file writing 2024-07-06 19:36:15 +10:00
29b3fa2b95 GSVector: Add {min,max}v_{u8,u16} 2024-07-06 19:36:15 +10:00
77488db3dc Misc: Align CPU state and SPU voices to cache lines
Fixes the ~12% performance regression from the texture replacement
namespace'ify commit. Apparently LTO was placing the CPU struct in the
middle of a cache line...
2024-07-06 18:49:37 +10:00
487eb102b7 Common: __m128 shouldn't be used in nosimd 2024-07-04 19:18:47 +10:00
7927ec647f Qt: Fix a couple of instances of inconsistent sorting 2024-07-04 13:25:26 +10:00
e0509ebd9f Common: Remove Rectangle class 2024-07-03 15:54:32 +10:00
2a7de25505 Common: Remove gsvector.h dependency on assert.h 2024-07-03 15:44:12 +10:00
0ae6ddcf7f Common: Add GSVector
Mostly based on PCSX2.
2024-07-03 00:24:12 +10:00
da2dc5fa1e FIFOQueue: Optimize PopRange() for trivially-copyable types 2024-07-02 14:26:16 +10:00
422102989c CMake: Remove unused macro 2024-06-30 16:55:04 +10:00
be8fbafd71 CPU/CodeCache: Always dynamically allocate code buffer
Reduces .bss size.
2024-06-30 16:45:51 +10:00
890f3fcf5d Common/Log: Make actually writing unlikely
Move it out of the hot path.
2024-06-30 16:45:51 +10:00
dd420cbfcf Common: Alloc failures in HeapArray are unlikely 2024-06-28 13:12:50 +10:00
ea3fa7fe3d Postprocessing/FX: Fix locating shaders in subdirectories 2024-06-23 13:20:47 +10:00
4827e548be BinarySpanReaderWriter: Fix off-by-one error (#3230)
fix off-by-one error
2024-06-23 11:12:04 +10:00
f1465ddf43 Memmap: Use Mach VM routines for memory mapping 2024-05-29 22:49:32 +10:00
4e905a63ec Util: Add socket helper classes 2024-05-26 22:20:29 +10:00
8e5781266a CrashHandler: Fix call stack on manual dump 2024-05-25 17:42:12 +10:00
cca7b46114 Assertions: Write crash dump on assertion fail 2024-05-25 17:42:12 +10:00
0240ea8b49 PageFaultHandler: Simplifications 2024-05-25 17:42:12 +10:00
4e922a34a7 Log: Simplify macros 2024-05-24 02:08:14 +10:00
b6d019db66 Misc: Replace log printf calls with fmt 2024-05-24 00:29:49 +10:00
e01efaa681 Log: Channel is [[maybe_unused]] 2024-05-22 22:16:58 +10:00
8e3284d8c6 Vulkan: Simplify loader using DynamicLibrary 2024-05-15 00:50:25 +10:00
88ace6e4ae CMake: Detect cache line size dynamically on AArch64 Linux 2024-05-15 00:50:24 +10:00
d9003b10c3 SettingsInterface: Fix TinyString helper 2024-05-15 00:50:24 +10:00
117e6be1dc HeapArray: Add span returners 2024-05-12 22:56:54 +10:00
c85e743573 Error: Strip trailing whitespace from Windows errors 2024-05-12 15:20:39 +10:00
4ca7753720 CrashHandler: Use SetUnhandledExceptionFilter() and terminate on crash
Fixes zombie processes sticking around.
2024-05-05 22:29:26 +10:00