diff options
author | Zephyron <zephyron@citron-emu.org> | 2025-01-18 15:19:45 +1000 |
---|---|---|
committer | Zephyron <zephyron@citron-emu.org> | 2025-01-18 15:20:13 +1000 |
commit | b9388935990c80c4ef35f33650ef236ffb39217c (patch) | |
tree | 16b6dfb923321ce259d37a07c8bc70c8851eb268 /externals | |
parent | 07b949025ff23e986f399ae6cbb907e064239ae4 (diff) |
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.
Diffstat (limited to 'externals')
m--------- | externals/SPIRV-Headers | 0 | ||||
m--------- | externals/SPIRV-Tools | 0 | ||||
m--------- | externals/Vulkan-Headers | 0 | ||||
m--------- | externals/Vulkan-Utility-Libraries | 0 | ||||
m--------- | externals/VulkanMemoryAllocator | 0 | ||||
m--------- | externals/vcpkg | 0 |
6 files changed, 0 insertions, 0 deletions
diff --git a/externals/SPIRV-Headers b/externals/SPIRV-Headers new file mode 160000 +Subproject 2b2e05e088841c63c0b6fd4c9fb380d8688738d diff --git a/externals/SPIRV-Tools b/externals/SPIRV-Tools new file mode 160000 +Subproject b9d5ced92ac454caf526c3b80d5105a1f38878c diff --git a/externals/Vulkan-Headers b/externals/Vulkan-Headers -Subproject d4a196d8c84e032d27f999adcea3075517c1c97 +Subproject a03d2f6d5753b365d704d58161825890baad075 diff --git a/externals/Vulkan-Utility-Libraries b/externals/Vulkan-Utility-Libraries -Subproject 5a88b6042edb8f03eefc8de73bd73a899989373 +Subproject 7b23ba7a5f86936a8d783baf64a77c38977d689 diff --git a/externals/VulkanMemoryAllocator b/externals/VulkanMemoryAllocator -Subproject f74c2d906f1537114fe0c0d855d5d27db91898c +Subproject 7ab8483d10b665ba8d478e1502380c40e2374ac diff --git a/externals/vcpkg b/externals/vcpkg -Subproject d4f3e122069912636c123b7ece673f6e01513ce +Subproject cf035d9916a0a23042b41fcae7ee0386d245af0 |