mirror of
https://git.citron-emu.org/Citron/Citron.git
synced 2025-03-15 03:14:50 +00:00
Fixes the StorageBufferBinding function to properly handle memory validation and size detection. Key changes include: - Fix ReadBlock usage to properly handle void return values - Implement safer memory validation using byte-level reads - Improve size detection logic for storage buffers - Fix NVN buffer size reading - Add proper bounds checking for device memory addresses - Add better error logging for invalid conditions This addresses the "Failed to find storage buffer for cbuf index 0" errors by implementing more robust memory validation and size detection. The changes ensure proper handling of invalid memory addresses and prevent crashes from accessing out-of-bounds memory. |
||
---|---|---|
.. | ||
android | ||
audio_core | ||
citron | ||
citron_cmd | ||
common | ||
core | ||
dedicated_room | ||
frontend_common | ||
hid_core | ||
input_common | ||
network | ||
shader_recompiler | ||
tests | ||
video_core | ||
web_service | ||
.clang-format | ||
CMakeLists.txt |