From b9388935990c80c4ef35f33650ef236ffb39217c Mon Sep 17 00:00:00 2001 From: Zephyron Date: Sat, 18 Jan 2025 15:19:45 +1000 Subject: memory: Improve null pointer and unmapped memory handling - Update vcpkg baseline to a42af01b72c28a8e1d7b48107b33e4f286a55ef6 - Add SPIRV-Tools and SPIRV-Headers as submodules - Update Vulkan-related submodules to latest stable versions - Improve memory access error handling: - Add specific handling for null pointer accesses in ARM32 emulation - Return 0 for null pointer reads instead of undefined behavior - Silently ignore writes to null pointers - Add more detailed error messages distinguishing between null pointer access and other unmapped memory errors - Treat addresses below 0x1000 as potential null pointer accesses These changes should provide more graceful handling of null pointer accesses and improve stability when running games that attempt invalid memory operations. --- externals/vcpkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'externals/vcpkg') diff --git a/externals/vcpkg b/externals/vcpkg index d4f3e1220..cf035d991 160000 --- a/externals/vcpkg +++ b/externals/vcpkg @@ -1 +1 @@ -Subproject commit d4f3e122069912636c123b7ece673f6e01513cea +Subproject commit cf035d9916a0a23042b41fcae7ee0386d245af08 -- cgit v1.2.3