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/SPIRV-Tools | 1 + 1 file changed, 1 insertion(+) create mode 160000 externals/SPIRV-Tools (limited to 'externals/SPIRV-Tools') diff --git a/externals/SPIRV-Tools b/externals/SPIRV-Tools new file mode 160000 index 000000000..b9d5ced92 --- /dev/null +++ b/externals/SPIRV-Tools @@ -0,0 +1 @@ +Subproject commit b9d5ced92ac454caf526c3b80d5105a1f38878ce -- cgit v1.2.3