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,
// Copyright 2020 yuzu Emulator Project// Licensed under GPLv2 or any later version// Refer to the license.txt file included.#pragma once#include <array>#include"common/common_types.h"namespaceKernel::Memory {constexprstd::size_t PageBits{12};constexprstd::size_t PageSize{1<< PageBits};using Page =std::array<u8, PageSize>;}// namespace Kernel::Memory