mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-10-30 07:11:38 +00:00
Compare commits
3 commits
a45399908c
...
8aeddb6a73
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8aeddb6a73 | ||
|
|
5a945705de | ||
|
|
a264d9586c |
2 changed files with 27 additions and 1 deletions
26
README.md
26
README.md
|
|
@ -255,6 +255,32 @@ Compilers other than Clang have not been tested and are not recommended, includi
|
|||
|
||||
On Windows, you can use the clang-cl toolset and open the project in Visual Studio's CMake integration.
|
||||
|
||||
### Building on windows using MSYS2
|
||||
clone the repo with submodules
|
||||
```
|
||||
git clone --recurse-submodules https://github.com/hedge-dev/XenonRecomp.git
|
||||
```
|
||||
download msys2 from the official website and install it
|
||||
|
||||
run msys2 ucrt64
|
||||
|
||||
install clang and cmake on msys2
|
||||
```
|
||||
pacman -S mingw-w64-ucrt-x86_64-clang
|
||||
pacman -S mingw-w64-ucrt-x86_64-cmake
|
||||
```
|
||||
go into the folder
|
||||
|
||||
set env vars temporarily so that cmake uses clang instead of gcc, this has to be done every time
|
||||
```
|
||||
export CC=clang
|
||||
export CXX=clang++
|
||||
```
|
||||
build the project
|
||||
```
|
||||
cmake -S . -B build -D CMAKE_BUILD_TYPE=Debug
|
||||
cmake --build build
|
||||
```
|
||||
## Special Thanks
|
||||
|
||||
This project could not have been possible without the [Xenia](https://github.com/xenia-project/xenia) emulator, as many parts of the CPU code conversion process has been implemented by heavily referencing its PPC code translator. The project also uses code from [Xenia Canary](https://github.com/xenia-canary/xenia-canary) to patch XEX binaries.
|
||||
|
|
|
|||
|
|
@ -1241,7 +1241,7 @@ bool Recompiler::Recompile(
|
|||
break;
|
||||
|
||||
case PPC_INST_MFFS:
|
||||
println("\t{}.u64 = ctx.fpscr.loadFromHost();", r(insn.operands[0]));
|
||||
println("\t{}.u64 = ctx.fpscr.loadFromHost();", f(insn.operands[0]));
|
||||
break;
|
||||
|
||||
case PPC_INST_MFLR:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue