Nintendo Switch emulator (unofficial mirror fork)
Go to file
Kyle Kienapfel 14e9de6678 code: dodge PAGE_SIZE #define
Some header files, specifically for OSX and Musl libc define PAGE_SIZE to be a number
This is great except in yuzu we're using PAGE_SIZE as a variable

Specific example
`static constexpr u64 PAGE_SIZE = u64(1) << PAGE_BITS;`

PAGE_SIZE PAGE_BITS PAGE_MASK are all similar variables.
Simply deleted the underscores, and then added YUZU_ prefix

Might be worth noting that there are multiple uses in different classes/namespaces
This list may not be exhaustive

Core::Memory   12 bits (4096)
QueryCacheBase 12 bits
ShaderCache    14 bits (16384)
TextureCache   20 bits (1048576, or 1MB)

Fixes #8779
2022-08-19 16:08:40 -07:00
.ci post-upload: Upload Linux source to artifacts dir 2022-08-09 00:18:32 -04:00
.github tidy up github actions 2022-07-30 06:05:01 -07:00
.reuse Moving Icons away from CC BY-ND 3.0 for FOSS packaging purposes 2022-08-14 06:45:40 -07:00
CMakeModules chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
dist Moving Icons away from CC BY-ND 3.0 for FOSS packaging purposes 2022-08-14 06:45:40 -07:00
externals Merge pull request #8730 from lat9nq/fmt-9.0.0 2022-08-07 19:04:24 -04:00
hooks chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
LICENSES Moving Icons away from CC BY-ND 3.0 for FOSS packaging purposes 2022-08-14 06:45:40 -07:00
src code: dodge PAGE_SIZE #define 2022-08-19 16:08:40 -07:00
.gitattributes chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
.gitignore Translate english plurals 2022-07-30 01:40:33 -07:00
.gitmodules externals: Use yuzu-emu/discord-rpc to provide Discord integration 2022-07-28 12:57:05 -04:00
.lgtm.yml chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
CMakeLists.txt cmake,ci: vcpkg for MSVC default, fix lz4 include, catch2, cleanup 2022-07-28 16:01:47 -04:00
CONTRIBUTING.md chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
Doxyfile chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
LICENSE.txt chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
README.md chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
vcpkg.json vcpkg: Update and update fmt to 9.0.0 2022-08-07 17:02:06 -04:00


yuzu
yuzu

yuzu is the world's most popular, open-source, Nintendo Switch emulator — started by the creators of Citra.
It is written in C++ with portability in mind, and we actively maintain builds for Windows and Linux.

Azure Mainline CI Build Status Discord

Compatibility | Development | Building | Download | Support | License

Compatibility

The emulator is capable of running most commercial games at full speed, provided you meet the necessary hardware requirements.

For a full list of games yuzu support, please visit our Compatibility page

Check out our website for the latest news on exciting features, monthly progress reports, and more!

Development

Most of the development happens on GitHub. It's also where our central repository is hosted. For development discussion, please join us on Discord.

If you want to contribute, please take a look at the Contributor's Guide and Developer Information. You can also contact any of the developers on Discord in order to know about the current state of the emulator.

If you want to contribute to the user interface translation project, please check out the yuzu project on transifex. We centralize translation work there, and periodically upstream translations.

Building

Download

You can download the latest releases automatically via the installer on our downloads page.

Support

If you enjoy the project and want to support us financially, check out our Patreon!

Any donations received will go towards things like:

  • Switch consoles to explore and reverse-engineer the hardware
  • Switch games for testing, reverse-engineering, and implementing new features
  • Web hosting and infrastructure setup
  • Software licenses (e.g. Visual Studio, IDA Pro, etc.)
  • Additional hardware (e.g. GPUs as-needed to improve rendering support, other peripherals to add support for, etc.)

If you wish to support us a different way, please join our Discord and talk to bunnei. You may also contact: donations@yuzu-emu.org.

License

yuzu is licensed under the GPLv3 (or any later version). Refer to the LICENSE.txt file.

The Skyline-Emulator Team may choose to use the code from these contributors under the GPL-3.0-or-later OR MPL-2.0: FernandoS27, lioncash, bunnei, ReinUsesLisp, Morph1984, ogniK5377, german77, ameerj, Kelebek1 and lat9nq