diff --git a/libraries/libstratosphere/source/htclow/driver/htclow_driver_manager.cpp b/libraries/libstratosphere/source/htclow/driver/htclow_driver_manager.cpp index e08f2529d..8f951c9db 100644 --- a/libraries/libstratosphere/source/htclow/driver/htclow_driver_manager.cpp +++ b/libraries/libstratosphere/source/htclow/driver/htclow_driver_manager.cpp @@ -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); }