Commit Graph

734 Commits

Author SHA1 Message Date
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
fa104acdd1 Misc: Purge unused code and report startup error to host 2024-05-05 22:29:26 +10:00
ca3cfbaa99 Misc: Pass string_view by value 2024-05-05 22:28:29 +10:00
295081fe62 Misc: Replace offsetof with constexpr-friendly OFFSETOF
Fixes build with clang-18.
2024-04-28 15:25:24 +10:00
5477f2eae2 HeapArray: Fix swap() not swapping size
Even though it's not used.
2024-04-27 13:18:36 +10:00
d2b9195c66 MemorySettingsInterface: Warning fix 2024-04-25 15:06:41 +10:00
1cdfca155d Qt: Clean and remove empty game settings 2024-04-25 14:02:16 +10:00
a5613fc815 System: Add OSD message when all enhancements are disabled 2024-04-22 00:38:46 +10:00
17b9736899 Misc: Use a 128b cache line size on Apple Silicon
Turns out it's not 64 bytes like I assumed. The things you learn.
2024-04-18 20:38:36 +10:00
9fd2994b73 Log: Fix crash with >1 instance + file log 2024-04-14 21:18:47 +10:00
6258cb9e0e FullscreenUI: Various minor bug fixes 2024-04-13 19:57:25 +10:00
e2d87f554b FileSystem: Canonicalize() after RealPath() 2024-04-11 14:44:29 +10:00
164062f80d Build: Use C++20 for everything except reshadefx 2024-04-11 13:46:25 +10:00
f75a5605eb SmallString: Add vformat overloads 2024-04-11 13:42:00 +10:00
631fca3042 SettingsInterface: Add SmallString overloads 2024-04-09 19:54:25 +10:00
6b7cf6a432 SmallString: Add missing methods 2024-04-09 19:54:25 +10:00
9dd686a994 ByteStream: Add error feedback 2024-04-07 13:10:34 +10:00
69c9133cd4 Common: Fix double free on opening invalid zip file 2024-04-05 17:23:29 +10:00
59a13d91ea Image: Don't use libjpeg stdio functions
Fixes I/O in debug builds.
2024-04-03 23:01:53 +10:00
693982d755 SettingsInterface: Add Error to Save() 2024-03-31 15:50:29 +10:00
eb504143c1 FileSystem: Add Error to CreateDirectory()/RenamePath() 2024-03-31 15:50:13 +10:00
979b7bd36f FileSystem: Use PathCchCanonicalizeEx() for GetWin32Path() 2024-03-30 00:46:38 +10:00
ab445ec69d FileSystem: Handle paths longer than MAX_PATH on Windows 2024-03-29 16:23:03 +10:00
b143d96476 Build: Use deps DLLs on Windows 2024-03-24 16:02:59 +10:00
43eb6e20fa System: Improve screenshot naming 2024-03-16 14:14:15 +10:00
9211d9f2e3 Path: Add CreateFileURL() 2024-03-16 14:10:35 +10:00
620d08f72d Build: Move Image from common to util 2024-03-06 16:09:21 +10:00
f936a36c85 GPUDevice: Add GPUDownloadTexture
Which can also be based in host/client memory.
Use it for screenshots and VRAM downloads.
2024-02-29 18:56:50 +10:00
4a70164dac CMake: Determine host page size at build time
Needed for running on Asahi Linux.
2024-02-25 20:30:41 +10:00
c1381cfda6 System: Gracefully handle memory allocaion failure 2024-02-25 20:30:41 +10:00
18ba2032ad Error: Add AddPrefix()/AddSuffix() 2024-02-25 20:30:41 +10:00
fcb8ce1ebc Common: Add DynamicLibrary 2024-02-25 20:30:40 +10:00
ea649bdb1b Common: Fix duplicate fastjmp on Windows/CMake 2024-02-25 01:53:23 +10:00
d5fb5645fc ByteStream: Move zstd wrapper to util project
Removes zstd dependency from common, fixes updater running on Mac.
2024-02-05 14:28:26 +10:00
a957fb669d StringUtil: Fix inequal-length EqualNoCase 2024-02-04 15:22:38 +10:00
c2c3eac749 Build: Use shared webp/zstd/zlib 2024-02-03 19:41:56 +10:00
f66866ed73 GPUDevice: Use Error class for initialization errors 2024-01-21 00:18:33 +10:00
ecd8d97f72 FileSystem: Handle infinite symlink loops in FindFiles() 2024-01-21 00:07:32 +10:00
03d6500250 Log: Skip argument packing when below filter level 2024-01-14 01:44:21 +10:00
87a7c09466 GPU/HW: Improve heuristics for draw/write when copying 2023-12-15 16:05:44 +10:00
23d5b20da6 GPU/HW: Split dirty rect into draw/write
Significant performance improvement in Persona 2.
2023-12-14 20:23:49 +10:00
2cd747983a SmallString: Pass string_view by value 2023-12-14 20:23:48 +10:00
4f84a98864 StringUtil: Pass string_views by value 2023-12-13 21:20:31 +10:00
710698f7e1 Misc: Remove StringUtil::{Starts,Ends}With, use C++20 2023-12-13 21:18:19 +10:00
79c226efff SmallString: fmt -> format, format -> sprintf 2023-12-13 21:06:15 +10:00
fdd3edf73a Common: Add LLVM SmallVector 2023-12-09 22:08:14 +10:00
a9ee2a34d8 SmallString: Add missing constructors/move operators 2023-12-09 22:06:59 +10:00
524625269f Path: Add RealPath() 2023-12-05 16:05:27 +10:00