mirror of
https://codeberg.org/yuzu-emu/yuzu.git
synced 2025-12-16 12:09:04 +00:00
Nintendo Switch Emulator
Implement several improvements to the texture cache memory management system to address memory leaks that occur in memory-intensive games like TOTK (Title ID 0100F2C0115B6000). These changes prevent the gradual memory increase that eventually leads to crashes or undefined behavior. Key improvements: - Enhance garbage collection with more aggressive cleanup thresholds - Add emergency resource cleanup for persistent high memory usage - Improve DeleteImage to ensure proper resource deallocation - Make DelayedDestructionRing thread-safe with proper mutex protection - Track consecutive high-memory frames to detect potential leaks - Add emergency cleanup mechanism for extreme memory pressure situations - Use proper type casting in std::max to fix compilation errors This should significantly improve stability during extended gameplay sessions with memory-intensive titles. Signed-off-by: Zephyron <zephyron@citron-emu.org> |
||
|---|---|---|
| .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.