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,
#pragma once#include"common/common_types.h"struct cpu_config_t
{const char* cpu_arch_name;// CPU architecture version name.e.g. ARMv4Tconst char* cpu_name;// CPU name. e.g. ARM7TDMI or ARM720T
u32 cpu_val;// CPU value; also call MMU ID or processor id;see// ARM Architecture Reference Manual B2-6
u32 cpu_mask;// cpu_val's mask.
u32 cachetype;// CPU cache type};