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,
// SPDX-FileCopyrightText: 2016 Citra Emulator Project// SPDX-License-Identifier: GPL-2.0-or-later#define CATCH_CONFIG_MAIN#include <catch2/catch.hpp>// Catch provides the main function since we've given it the// CATCH_CONFIG_MAIN preprocessor directive.