bfa6eee936
- Update OnThreadBreakpointHit to use bp->ContainsHostAddress Sometimes guest PC doesn't map to the x64 exactly, so ResolveStack may return a guest PC different to the breakpoint that triggered it Processor code would just skip the breakpoint entirely if PC didn't match so any debugger wouldn't know what BP caused it Luckily BP does have a ContainsHostAddress func which seems perfect, but was somehow left unused Also added a hack to nudge the PC we tell GDB about to the BP's PC - Update StepGuest/HostInstruction to add step BP to front of map Fixes an issue where a different BP might get triggered before the step BP which could cause debugger to step again, causing assert error as a step BP already existed I noticed one more issue, if BPs are set on instructions very close together it might act on the same x64 instruction, causing assert when a BP is already placed and another BP tries to set on the same addr... Not really sure what best way to fix that is yet, for now just don't place BPs too close together! |
||
---|---|---|
.github | ||
android/android_studio_project | ||
assets | ||
docs | ||
src/xenia | ||
third_party | ||
tools | ||
.clang-format | ||
.codacy.yaml | ||
.drone.star | ||
.gdbinit | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
LICENSE | ||
README.md | ||
premake5.lua | ||
xb | ||
xb.bat | ||
xb.ps1 | ||
xenia-build | ||
xeniarc |
README.md
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 |
---|---|---|
Windows | Latest ◦ All | |
Linux | Curently unsupported | |
Netplay Build | 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...).