mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-07-10 17:44:41 -06:00
parent
8042e1c14c
commit
c74891a4fb
@ -62,9 +62,9 @@ std::vector<CameraManager::DeviceInfo> CameraManager::EnumerateDevices()
|
||||
const auto name = Cap_getDeviceName(m_ctx, deviceNo);
|
||||
|
||||
if (name)
|
||||
infos.emplace_back(std::string(uniqueId), fmt::format("{}: {}", deviceNo + 1, name));
|
||||
infos.emplace_back(DeviceInfo{uniqueId, fmt::format("{}: {}", deviceNo + 1, name)});
|
||||
else
|
||||
infos.emplace_back(std::string(uniqueId), fmt::format("{}: Unknown", deviceNo + 1));
|
||||
infos.emplace_back(DeviceInfo(uniqueId, fmt::format("{}: Unknown", deviceNo + 1)));
|
||||
}
|
||||
return infos;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user