Citron/src
Zephyron 66b6d5b2da
core: Improve device memory and buffer queue handling
This commit makes several improvements to device memory management and buffer
queue handling:

DeviceMemoryManager:
- Add null pointer and size checks for ReadBlock
- Fill unmapped memory with a known pattern (0xCC) instead of zeros
- Add better error logging for invalid memory accesses
- Add null pointer check for source pointer in memcpy

BufferQueueProducer:
- Improve error handling in WaitForFreeSlotThenRelock
- Add proper abandoned state checking during wait conditions
- Clean up and simplify buffer scanning logic
- Improve logging messages with more descriptive information
- Remove redundant buffer count validation
- Fix potential infinite loop condition during wait

These changes improve stability and error handling while making the code more
maintainable and debuggable. The use of a known pattern for unmapped memory
helps identify uninitialized memory access issues.
2025-01-06 20:04:35 +10:00
..
android chore: update project references and add Citron copyright 2024-12-31 17:07:49 +10:00
audio_core Audio Core: Add support tags for compressor stats and volume reset 2025-01-03 13:34:14 +10:00
citron refactor: Improve game list scanning with std::filesystem 2025-01-06 14:41:06 +10:00
citron_cmd core: Update copyright headers 2024-12-31 17:36:08 +10:00
common common: Use consistent cache line size in RingBuffer 2025-01-06 12:41:42 +10:00
core core: Improve device memory and buffer queue handling 2025-01-06 20:04:35 +10:00
dedicated_room core: Update copyright headers 2024-12-31 17:36:08 +10:00
frontend_common chore: update project references and add Citron copyright 2024-12-31 17:07:49 +10:00
hid_core chore: update project references and add Citron copyright 2024-12-31 17:07:49 +10:00
input_common core: Update copyright headers 2024-12-31 17:36:08 +10:00
network core: Update copyright headers 2024-12-31 17:36:08 +10:00
shader_recompiler shader_recompiler: Fix ISBERD instruction implementation 2024-12-31 23:22:54 +10:00
tests core: Update copyright headers 2024-12-31 17:36:08 +10:00
video_core buffer_cache: Fix storage buffer memory validation and size detection 2025-01-02 18:03:47 +10:00
web_service core: Update copyright headers 2024-12-31 17:36:08 +10:00
.clang-format chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
CMakeLists.txt fix(CMake): Remove /DEBUG Flag From Release Builds 2025-01-02 16:39:58 +10:00