Xbox 360 Emulator Research Project
Go to file
Sandy Carter 432369ae84 [kernel] Define param order between compilers
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.
2020-11-22 13:54:00 +03:00
.github Fix Discord link in issue template. 2020-04-14 14:57:30 -05:00
android/android_studio_project [Android] Remove releaseDebuggable config since debuggable disables optimization 2020-11-21 23:13:30 +03:00
assets [App/Discord] Rework how rich presence is managed. 2019-08-03 08:16:04 -05:00
docs [GPU] Add performance counter registers. 2020-11-21 21:55:52 +03:00
src/xenia [kernel] Define param order between compilers 2020-11-22 13:54:00 +03:00
third_party [Build] Update premake-androidmk fork 2020-11-21 23:11:36 +03:00
tools [Build] Add Android to platform_files.lua 2020-11-22 00:15:36 +03:00
.appveyor.yml [AppVeyor] Recursively ignore unrelated files. 2020-04-14 15:15:40 -05:00
.clang-format Don't use Preserve for IncludeBlocks. 2020-02-22 12:31:21 -06:00
.gdbinit [threading linux] Implement Callback Queuing 2020-11-15 11:12:05 -06:00
.gitattributes gitattributes (maybe). 2015-05-24 01:16:34 -07:00
.gitignore Update .gitignore. 2018-05-22 22:24:39 -05:00
.gitmodules [Build] Switch premake-androidmk to a fork 2020-11-21 23:07:14 +03:00
.travis.yml Premake: Reorder links to speed up building. 2020-11-14 13:30:06 -06:00
LICENSE Adding CONTRIBUTING.md so that github shows it on issues. 2015-08-28 14:16:38 -07:00
README.md readme: fix label in linux help 2020-11-16 20:38:48 +03:00
premake5.lua [Build] Mark RTTI as enabled for Android 2020-11-21 23:52:45 +03:00
xb Add xb symlink to xenia-build to match xb.bat for win 2017-07-11 11:47:24 -06:00
xb.bat Bump minimum Python version (#1581) 2020-03-30 17:37:32 -05:00
xenia-build [Build] Fix a typo in get_premake_target_os comment 2020-11-21 16:32:07 +03:00
xeniarc clang-format detection cleanup. 2015-08-01 00:41:46 -07:00

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 Build status
Linux Build status

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:

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.