1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-26 13:52:21 +00:00

htc: fix driver manager c/p error

This commit is contained in:
Michael Scire 2021-02-09 17:44:12 -08:00 committed by SciresM
parent 87165e0f08
commit 70aae4e27a

View file

@ -57,6 +57,8 @@ namespace ams::htclow::driver {
impl::DriverType DriverManager::GetDriverType() {
/* Lock ourselves. */
std::scoped_lock lk(m_mutex);
return m_driver_type.value_or(impl::DriverType::Unknown);
}