Nintendo Switch Emulator
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. |
||
|---|---|---|
| .ci | ||
| .github | ||
| .reuse | ||
| CMakeModules | ||
| dist | ||
| externals | ||
| hooks | ||
| LICENSES | ||
| src | ||
| tools | ||
| .codespellrc | ||
| .git-blame-ignore-revs | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| CMakeLists.txt | ||
| Doxyfile | ||
| LICENSE.txt | ||
| README.md | ||
| vcpkg.json | ||
yuzu
yuzu is the world's most popular, open-source, Nintendo Switch emulator — started by the creators of Citra.
It is written in C++ with portability in mind.
Note
This is an unofficial mirror fork of the original repository.
- Fixed controller UI being cut off at the bottom
Development
Most of the development happens on Codeberg. It's also where our central repository is hosted.
Git history will be rewritten frequently as patches are added and removed from other forks
License
yuzu is licensed under the GPLv3 (or any later version). Refer to the LICENSE.txt file.