How oatmealdome/dolphin-ios works
DolphiniOS is an iOS/iPadOS port of Dolphin, the GameCube and Wii emulator. The principal workflow is selecting a game in the app, starting emulation, and producing graphics and audio; Android TV also synchronizes game channels and programs. The graph preserves major runtime stages and sampled internal layers, including patch handling, pixel-engine hardware behavior, graphics pipelines, and Android input bridging. Source excerpts are selective, so links between unsampled runtime subsystems are omitted rather than inferred.
Main entry points: System.h Emulation system · ServiceManager.swift App services · EmulationViewController.h Emulation UI · Core.h Core runtime
Components 21
iOS App
- Emulation UI
Source/iOS/App/Common/UI/Emulation/EmulationViewController.h - App services
Source/iOS/App/Common/Services/ServiceManager.swift - Audio session
Source/iOS/App/Common/Audio/AudioSessionManager.h - Fast memory
Source/iOS/App/Common/Fastmem/FastmemManager.h - JIT manager
Source/iOS/App/Common/Jit/JitManager.h
Android App
- Android input UI
Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/input/model/controlleremu/EmulatedController.kt - JNI input bridge
Source/Android/jni/Input/EmulatedController.cpp - TV channel sync
Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/services/SyncChannelJobService.java - TV program sync
Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/services/SyncProgramsJobService.java
Emulation Core
- Emulation system
Source/Core/Core/System.h - Core runtime
Source/Core/Core/Core.h - Patch engine
Source/Core/Core/PatchEngine.cpp - Pixel engine
Source/Core/VideoCommon/PixelEngine.cpp
Graphics
- Video configuration
Source/Core/VideoCommon/VideoConfig.h - D3D pipeline
Source/Core/VideoBackends/D3D/DXPipeline.cpp - D3D12 pipeline
Source/Core/VideoBackends/D3D12/DX12Pipeline.cpp - Metal pipeline
Source/Core/VideoBackends/Metal/MTLPipeline.h - OpenGL pipeline
Source/Core/VideoBackends/OGL/OGLPipeline.cpp - Vulkan pipeline
Source/Core/VideoBackends/Vulkan/VKPipeline.cpp
Other components
- Player
- Game file
Connections 14
- Player → Emulation UI: selects game
- Game file → Emulation UI: launches
- Emulation UI → Emulation system: starts emulation
- Emulation system → Core runtime: runs core
- Core runtime → Patch engine: loads patches
Source/Core/Core/PatchEngine.cpp - Emulation system → Pixel engine: owns engine
Source/Core/VideoCommon/PixelEngine.cpp - Pixel engine → Emulation system: registers timing
Source/Core/VideoCommon/PixelEngine.cpp - Video configuration → D3D pipeline: configures
Source/Core/VideoBackends/D3D/DXPipeline.cpp - Vulkan pipeline → Video configuration: reads config
Source/Core/VideoBackends/Vulkan/VKPipeline.cpp - Android input UI → JNI input bridge: calls JNI
Source/Android/jni/Input/EmulatedController.cpp - TV channel sync → TV program sync: schedules programs
- App services → Audio session: configures audio
- App services → JIT manager: starts JIT service
- App services → Fast memory: starts memory service