Featured answer
Give me an overview of lichii
lichii is a very experimental, open-source emulator for the Nintendo Switch and Switch 2, written in C++, and it is meant for running games the user has legally obtained. It emulates the console's hardware in software on a desktop or Android device so games can run without the original machine. Input enters through the desktop front end or the Android app, where EmulationActivity.kt starts a game and NativeLibrary loads the native library and forwards calls over JNI to the C++ code. src/core opens the game's files, sets up the emulated machine and runs the guest CPUs, and most of its files implement the kernel and service emulation that system calls reach, while src/audio_core handles audio and src/video_core, including renderer_vulkan/vk_rasterizer.cpp, handles Vulkan graphics, with src/common supplying shared headers for basic types, assertions and logging. The layer chart shows Application with 1970 files, Service with 1230 and Utility with 465, so start reading with src/core and the Android entry point EmulationActivity.kt.
| Layer | Files |
|---|---|
| Application | 1970 |
| Service | 1230 |
| Types | 10 |
| Config | 99 |
| API | 8 |
| Data | 12 |
| Utility | 465 |
| Docs & Tooling | 92 |
Basis: Inferred · knowledge graph· as of dc386a2