- [X] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions). - [X] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability. - [X] I have read and followed the [website policy](https://git.eden-emu.dev/eden-emu/site-policy). - [X] I affirm that the content of this pull request body was written and submitted entirely by me, in my own words, and not by an AI agent or LLM. - [ ] I affirm that I did not read any of this, and understand that my pull request will be closed if I check this box. - [X] I affirm that, by submitting this pull request, I am responsible for all of the changes contained within these commits. ------------------- The NCE interpreter code was incorrectly handling register 31 Zero Register commands (SetReg(ZR) and GetReg(ZR)) as stack pointers, which was causing a freeze in XBC1:DE with NCE and PR !4604 because it runs GPU pages through the interpreter, when before they were being invalidated and this issue would not appear. The fix changes the behavior of the NCE interpreter to ignore SetReg(ZR) and return 0 for GetReg(ZR), which corrects this behavior, while leaving the SP behavior is unchanged. Tested on Linux (Radeon 6900 XT, Garuda Linux) built from latest master branch with !4604 and this fix applied on top, and an AYN Thor Pro 12GB with the same build configuration. Xenoblade Chronicles: DE ran as expected and no longer froze, crashed or broke the textures/lighting when closing out of the equipment menu. Reactive flushing causes a slowdown in the menu after exiting the equipment menu, but also fixes the issue with the save file thumbnail when using NCE. Performance also appeared unaffected when running without reactive flushing enabled. Patch files attached for testing. Assisted-by: Claude Opus 5.5 (diagnosis, implementation) Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4631 Reviewed-by: crueter <crueter@eden-emu.dev>
Eden
Eden is a free and open-source (FOSS) Switch 1 emulator started by developer Camille LaVey.
Written in C++, with builds for Windows, Linux, macOS, Android, FreeBSD and more.
Compatibility | Contribute | Building | Download | License
Compatibility
The emulator is capable of running most commercial games at full speed, provided you meet the necessary hardware requirements.
A list of supported games will be available in future. Please be patient.
Check out our website for the latest news on exciting features, monthly progress reports, and more!
Contribute
To contribute to Eden; be it financially, code, bug reports, or otherwise, see our Contributing guidelines.
Documentation
We have a user manual! See our User Handbook.
Building
See the General Build Guide
For information on provided development tooling, see the Tools directory
Download
You can download the latest releases from our release page.
Save us some bandwidth! We have mirrors available as well.
License
Eden is licensed under the GPLv3 (or any later version). Refer to the LICENSE.txt file.
Special thanks
Super special thanks to Cloudflare for preventing the git server from blowing up.
- Yuzu
- Ryujinx
- Sudachi
- Citron
- Torzu
- Suyu
- Ryubing
And everyone who continues or had contributed to the project! <3