Commit graph

746 commits

Author SHA1 Message Date
TheUbMunster 4827e548be
BinarySpanReaderWriter: Fix off-by-one error (#3230)
fix off-by-one error
2024-06-23 11:12:04 +10:00
Stenzek f1465ddf43
Memmap: Use Mach VM routines for memory mapping 2024-05-29 22:49:32 +10:00
Stenzek 4e905a63ec
Util: Add socket helper classes 2024-05-26 22:20:29 +10:00
Stenzek 8e5781266a
CrashHandler: Fix call stack on manual dump 2024-05-25 17:42:12 +10:00
Stenzek cca7b46114
Assertions: Write crash dump on assertion fail 2024-05-25 17:42:12 +10:00
Stenzek 0240ea8b49
PageFaultHandler: Simplifications 2024-05-25 17:42:12 +10:00
Stenzek 4e922a34a7
Log: Simplify macros 2024-05-24 02:08:14 +10:00
Stenzek b6d019db66
Misc: Replace log printf calls with fmt 2024-05-24 00:29:49 +10:00
Stenzek e01efaa681
Log: Channel is [[maybe_unused]] 2024-05-22 22:16:58 +10:00
Stenzek 8e3284d8c6
Vulkan: Simplify loader using DynamicLibrary 2024-05-15 00:50:25 +10:00
Stenzek 88ace6e4ae
CMake: Detect cache line size dynamically on AArch64 Linux 2024-05-15 00:50:24 +10:00
Stenzek d9003b10c3
SettingsInterface: Fix TinyString helper 2024-05-15 00:50:24 +10:00
Stenzek 117e6be1dc
HeapArray: Add span returners 2024-05-12 22:56:54 +10:00
Stenzek c85e743573
Error: Strip trailing whitespace from Windows errors 2024-05-12 15:20:39 +10:00
Stenzek 4ca7753720
CrashHandler: Use SetUnhandledExceptionFilter() and terminate on crash
Fixes zombie processes sticking around.
2024-05-05 22:29:26 +10:00
Stenzek fa104acdd1
Misc: Purge unused code and report startup error to host 2024-05-05 22:29:26 +10:00
Stenzek ca3cfbaa99
Misc: Pass string_view by value 2024-05-05 22:28:29 +10:00
Stenzek 295081fe62
Misc: Replace offsetof with constexpr-friendly OFFSETOF
Fixes build with clang-18.
2024-04-28 15:25:24 +10:00
Stenzek 5477f2eae2
HeapArray: Fix swap() not swapping size
Even though it's not used.
2024-04-27 13:18:36 +10:00
Stenzek d2b9195c66
MemorySettingsInterface: Warning fix 2024-04-25 15:06:41 +10:00
Stenzek 1cdfca155d
Qt: Clean and remove empty game settings 2024-04-25 14:02:16 +10:00
Stenzek a5613fc815
System: Add OSD message when all enhancements are disabled 2024-04-22 00:38:46 +10:00
Stenzek 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
Stenzek 9fd2994b73
Log: Fix crash with >1 instance + file log 2024-04-14 21:18:47 +10:00
Stenzek 6258cb9e0e
FullscreenUI: Various minor bug fixes 2024-04-13 19:57:25 +10:00
Stenzek e2d87f554b
FileSystem: Canonicalize() after RealPath() 2024-04-11 14:44:29 +10:00
Stenzek 164062f80d
Build: Use C++20 for everything except reshadefx 2024-04-11 13:46:25 +10:00
Stenzek f75a5605eb
SmallString: Add vformat overloads 2024-04-11 13:42:00 +10:00
Stenzek 631fca3042
SettingsInterface: Add SmallString overloads 2024-04-09 19:54:25 +10:00
Stenzek 6b7cf6a432
SmallString: Add missing methods 2024-04-09 19:54:25 +10:00
Stenzek 9dd686a994
ByteStream: Add error feedback 2024-04-07 13:10:34 +10:00
Stenzek 69c9133cd4
Common: Fix double free on opening invalid zip file 2024-04-05 17:23:29 +10:00
Stenzek 59a13d91ea
Image: Don't use libjpeg stdio functions
Fixes I/O in debug builds.
2024-04-03 23:01:53 +10:00
Stenzek 693982d755
SettingsInterface: Add Error to Save() 2024-03-31 15:50:29 +10:00
Stenzek eb504143c1
FileSystem: Add Error to CreateDirectory()/RenamePath() 2024-03-31 15:50:13 +10:00
Stenzek 979b7bd36f
FileSystem: Use PathCchCanonicalizeEx() for GetWin32Path() 2024-03-30 00:46:38 +10:00
Stenzek ab445ec69d
FileSystem: Handle paths longer than MAX_PATH on Windows 2024-03-29 16:23:03 +10:00
Stenzek b143d96476
Build: Use deps DLLs on Windows 2024-03-24 16:02:59 +10:00
Stenzek 43eb6e20fa
System: Improve screenshot naming 2024-03-16 14:14:15 +10:00
Stenzek 9211d9f2e3
Path: Add CreateFileURL() 2024-03-16 14:10:35 +10:00
Stenzek 620d08f72d
Build: Move Image from common to util 2024-03-06 16:09:21 +10:00
Stenzek 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
Stenzek 4a70164dac
CMake: Determine host page size at build time
Needed for running on Asahi Linux.
2024-02-25 20:30:41 +10:00
Stenzek c1381cfda6
System: Gracefully handle memory allocaion failure 2024-02-25 20:30:41 +10:00
Stenzek 18ba2032ad
Error: Add AddPrefix()/AddSuffix() 2024-02-25 20:30:41 +10:00
Stenzek fcb8ce1ebc
Common: Add DynamicLibrary 2024-02-25 20:30:40 +10:00
Stenzek ea649bdb1b
Common: Fix duplicate fastjmp on Windows/CMake 2024-02-25 01:53:23 +10:00
Stenzek 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
Stenzek a957fb669d
StringUtil: Fix inequal-length EqualNoCase 2024-02-04 15:22:38 +10:00
Stenzek c2c3eac749
Build: Use shared webp/zstd/zlib 2024-02-03 19:41:56 +10:00