Commit Graph

723 Commits

Author SHA1 Message Date
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
7ef3578630 ByteStream: Fix incorrect computation in Zstd SeekRelative() 2023-12-03 17:03:38 +10:00
5486a7a467 Fix get_thread_time() declaration on FreeBSD 2023-11-29 21:05:21 +01:00
af046c8987 Fix build on FreeBSD
FreeBSD's alloca(3) only needs <stdlib.h>
2023-11-29 20:54:12 +01:00
e382f2b64a Settings: Add option to disable DSB/fbfetch 2023-11-28 14:38:38 +10:00
333c9fdf6f Misc: Fix a couple of fmt errors 2023-11-28 14:38:38 +10:00
5cf41a41f3 JitCodeBuffer: Allocate within 32-bit range 2023-11-24 20:35:19 +10:00
bbeae07478 MemorySettingsInterface: Fix bool and SetValue() 2023-11-21 22:31:18 +10:00
cce7be4723 Misc: Make struct member functions file-local 2023-11-18 16:46:11 +10:00
6f66460ec0 Common: Remove ThreadPool class
No longer needed.
2023-11-06 23:17:58 +10:00
0fe6e9170b HTTPDownloader: Move to util project 2023-11-06 23:17:57 +10:00
3c6b6c5770 Achievements: Use retryable client error status code 2023-11-06 23:17:57 +10:00