Adds cvar audit_log_sub824F7800_args (off by default). When set, the x64 JIT emits one CallNative to AuditLogSub824F7800Args at the start of the JIT-compiled body of guest function 0x824F7800 (silph::WorkerCtx ctor's immediate caller per audit-058). The hook reads r3..r10, LR, and 64 bytes at host(r3) from PPCContext and writes them to XELOGKERNEL. The hook is placed *after* the JIT prolog (stack push, GUEST_RET_ADDR / GUEST_CALL_RET_ADDR setup, optional trace-functions block) and *before* the first HIR body instruction, so r3..r10 and lr in PPCContext still reflect the caller's args (no LOAD/STORE_CONTEXT has executed yet inside the callee). The compile-time gate `current_guest_function_ == 0x824F7800` makes this a zero-cost no-op for all other functions and a single extra CallNative for the one target. Audit-059 round 7 probe captures r3..r10 + LR for a-prime synthetic replay of sub_824F7800 from a host hook in xenia-rs. Run with: --audit_handle_lifecycle=true --audit_log_sub824F7800_args=true Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Xenia Canary - Xbox 360 Emulator
Xenia Canary is an experimental fork of the Xenia emulator. For more information, see the Xenia Canary wiki.
Come chat with us about emulator-related topics on Discord.
For developer chat join #dev but stay on topic. Lurking is not only fine, but encouraged!
Please check the FAQ page before asking questions.
We've got jobs/lives/etc, so don't expect instant answers.
Discussing illegal activities will get you banned.
Status
| Buildbot | Status | Releases |
|---|---|---|
| Canary (🪟, 🐧) | Latest ◦ All ◦ Old |
Experimental Netplay
| Buildbot | Status | Releases |
|---|---|---|
| Windows | Latest |
Quickstart
See the Quickstart page.
FAQ
See the frequently asked questions page.
Game Compatibility
See the Game compatibility list for currently tracked games, and feel free to contribute your own updates, screenshots, and information there following the existing conventions.
Building
See building.md for setup and information about the
xb script. When writing code, check the style guide
and be sure to run clang-format!
Contributors Wanted!
Have some spare time, know advanced C++, and want to write an emulator? Contribute! There's a ton of work that needs to be done, a lot of which is wide open greenfield fun.
For general rules and guidelines please see CONTRIBUTING.md.
Fixes and optimizations are always welcome (please!), but in addition to that there are some major work areas still untouched:
- Help work through missing functionality/bugs in games
- Reduce the size of Xenia's huge log files
- Skilled with Linux? A strong contributor is needed to help with porting
See more projects good for contributors. It's a good idea to ask on Discord and check the issues page before beginning work on something.
Disclaimer
The goal of this project is to experiment, research, and educate on the topic of emulation of modern devices and operating systems. It is not for enabling illegal activity. All information is obtained via reverse engineering of legally purchased devices and games and information made public on the internet (you'd be surprised what's indexed on Google...).