mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-09-09 11:05:45 +00:00
htc: fix driver manager c/p error
This commit is contained in:
parent
fe56432650
commit
c8eef1c4e4
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue