432369ae84
Fix issue in clang where args were inverted last to first due to the way c++ implements function calls. The function make_tuple, being a function, has undefined ordering of resolution of the values of its parameters `Ps(init)` and would vary between compilers. Namely clang would resolve them in order and msvc would resolve them in reverse order. This normally would not matter except for the fact that init maintains a mutable state which is affected my the order of operations: init.ordinal is a counter and also defines where in memory a value is stored. The C++ standard doesn't define an order of resolution of parameters in a function but it will define an order in a brace-initializer. Switching make_tuple for a brace-initializer enforces an order which is the same between all compilers (tested gcc, clang and msvc). Prior code was written to decrement ordinal due to the reverse traversal. This has been switched to incrementing thanks to the in-order traversal. |
||
---|---|---|
.github | ||
android/android_studio_project | ||
assets | ||
docs | ||
src/xenia | ||
third_party | ||
tools | ||
.appveyor.yml | ||
.clang-format | ||
.gdbinit | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
LICENSE | ||
README.md | ||
premake5.lua | ||
xb | ||
xb.bat | ||
xenia-build | ||
xeniarc |
README.md
Xenia - Xbox 360 Emulator
Xenia is an experimental emulator for the Xbox 360. For more information, see the main Xenia wiki.
Interested in supporting the core contributors? Visit Xenia Project on Patreon.
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 |
---|---|
Windows | |
Linux |
Quite a few real games run. Quite a few don't. 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.
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...).
Quickstart
See the Quickstart page.
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
- Add input drivers for DualShock4 (PS4) controllers (or anything else)
- 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.
FAQ
See the frequently asked questions page.