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 2014 Citra Emulator Project / PPSSPP Project// Licensed under GPLv2 or any later version// Refer to the license.txt file included.#pragma once#include"common/common_types.h"namespace Kernel {/// Initialize the kernel with the specified system mode.voidInit(u32 system_mode);/// Shutdown the kernelvoidShutdown();}// namespace Kernel