mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
IOS: Only construct DolphinDevice on EmulationKernel IOS instances.
Doesn't make much sense to have this active without a game.
This commit is contained in:
parent
ffbbd72741
commit
4d49902b34
@ -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
Block a user