Merge pull request #11786 from AdmiralCurtiss/ios-dolphin-device
IOS: Only construct DolphinDevice on EmulationKernel IOS instances.
This commit is contained in:
commit
a08b5f7c35
|
@ -544,7 +544,6 @@ void Kernel::AddCoreDevices()
|
|||
std::lock_guard lock(m_device_map_mutex);
|
||||
AddDevice(std::make_unique<FSDevice>(*this, "/dev/fs"));
|
||||
AddDevice(std::make_unique<ESDevice>(*this, "/dev/es"));
|
||||
AddDevice(std::make_unique<DolphinDevice>(*this, "/dev/dolphin"));
|
||||
}
|
||||
|
||||
void Kernel::AddStaticDevices()
|
||||
|
@ -553,6 +552,9 @@ void Kernel::AddStaticDevices()
|
|||
|
||||
const Feature features = GetFeatures(GetVersion());
|
||||
|
||||
// Dolphin-specific device for letting homebrew access and alter emulator state.
|
||||
AddDevice(std::make_unique<DolphinDevice>(*this, "/dev/dolphin"));
|
||||
|
||||
// OH1 (Bluetooth)
|
||||
AddDevice(std::make_unique<DeviceStub>(*this, "/dev/usb/oh1"));
|
||||
if (!Config::Get(Config::MAIN_BLUETOOTH_PASSTHROUGH_ENABLED))
|
||||
|
|
Loading…
Reference in New Issue