mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Return the plugin info of the emulated simulator rather than emulated itself
This commit is contained in:
@@ -125,6 +125,7 @@ namespace BlackCore
|
||||
if (m_simulatorPlugin.first.isUnspecified()) { return BlackMisc::Simulation::CSimulatorPluginInfo(); }
|
||||
|
||||
Q_ASSERT(m_simulatorPlugin.second);
|
||||
if (m_simulatorPlugin.first.getSimulator() == "emulated") { return m_simulatorPlugin.second->getSimulatorPluginInfo(); }
|
||||
return m_simulatorPlugin.first;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user