mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-26 04:52:47 +02:00
htc: fix driver manager c/p error
This commit is contained in:
parent
8bfa4d662e
commit
67c293faba
@ -57,6 +57,8 @@ namespace ams::htclow::driver {
|
|||||||
|
|
||||||
impl::DriverType DriverManager::GetDriverType() {
|
impl::DriverType DriverManager::GetDriverType() {
|
||||||
/* Lock ourselves. */
|
/* Lock ourselves. */
|
||||||
|
std::scoped_lock lk(m_mutex);
|
||||||
|
|
||||||
return m_driver_type.value_or(impl::DriverType::Unknown);
|
return m_driver_type.value_or(impl::DriverType::Unknown);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user