How sandibabsel/aizu-mainline works
Aizu/yuzu is a cross-platform Nintendo Switch emulator. The principal workflow is selecting content in a frontend, starting emulation in the core, and producing audio and graphics while handling controller input and emulated system services. The graph preserves major runtime areas visible in the tree and source index. Several implementation paths are unsampled, so their links are omitted rather than inferred; the Android and Qt frontends are represented separately where the tree supports them.
Main entry points: core.h Emulation Core · bootmanager.cpp Qt Frontend · input_engine.cpp Input Engines · gl_graphics_pipeline.cpp OpenGL Pipeline
Components 15
Frontends
- Qt Frontend
src/yuzu/bootmanager.cpp - Android Frontend
src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt - Content Manager
src/frontend_common/content_manager.h
Emulation Core
- Emulation Core
src/core/core.h - Core Settings
src/common/settings.h - HLE Services
src/core/hle/service/service.h - Play Statistics
src/core/hle/service/ns/query_service.cpp
Device Emulation
- Input Engines
src/input_common/input_engine.cpp - Emulated Controllers
src/hid_core/frontend/emulated_controller.cpp - Audio Core
src/audio_core/audio_core.cpp
Rendering
- Shader Recompiler
src/shader_recompiler/ir_opt/global_memory_to_storage_buffer_pass.cpp - OpenGL Pipeline
src/video_core/renderer_opengl/gl_graphics_pipeline.cpp - Vulkan Pipeline
src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp - Video Core
src/video_core/memory_manager.cpp
Other components
- Player
Connections 12
- Player → Qt Frontend: uses
- Player → Android Frontend: uses
- Qt Frontend → Emulation Core: controls
src/yuzu/bootmanager.cpp - Content Manager → Emulation Core: uses
src/frontend_common/content_manager.h - Qt Frontend → Input Engines: initializes
src/yuzu/bootmanager.cpp - Input Engines → Emulated Controllers: supplies input
- Emulation Core → HLE Services: hosts
- Play Statistics → HLE Services: registers handlers
src/core/hle/service/ns/query_service.cpp - Emulation Core → Core Settings: applies
src/core/core.h - Shader Recompiler → OpenGL Pipeline: supports translation
- OpenGL Pipeline → Video Core: uses
src/video_core/renderer_opengl/gl_graphics_pipeline.cpp - Vulkan Pipeline → Video Core: uses
src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp