1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-10-01 12:30:00 +02:00
Ryujinx/Ryujinx.Tests.Unicorn/libs
2021-09-15 01:47:10 +02:00
..
linux Add Linux Unicorn patch + desc. (#2609) 2021-09-15 01:47:10 +02:00
windows CPU: This PR fixes Fpscr, among other things. (#1433) 2020-08-08 17:18:51 +02:00
README.md Add Linux Unicorn patch + desc. (#2609) 2021-09-15 01:47:10 +02:00

Unicorn

Unicorn is a CPU simulator with bindings in many languages, including C#/.NET. It is used by the Ryujinx test suite for comparative testing with its built-in CPU simulator, Armeilleure.

Windows

On Windows, Unicorn is shipped as a pre-compiled dynamic library (.dll), licenced under the GPLv2.

The source code for windows/unicorn.dll is available at: 299451c02d

Linux

On Linux, you will first need to download Unicorn from https://github.com/unicorn-engine/unicorn.

Then you need to patch it to expose the FSPCR register by applying linux/unicorn_fspcr.patch

Then, compile Unicorn from source with its make.sh script.

See https://github.com/Ryujinx/Ryujinx/pull/1433 for details.