htc: implement remaining htclow::HtclowManagerImpl funcs (mux impls pending)
This commit is contained in:
@@ -49,9 +49,17 @@ namespace ams::htclow::driver {
|
||||
return htclow::ResultUnknownDriverType();
|
||||
}
|
||||
|
||||
/* Set the driver type. */
|
||||
m_driver_type = driver_type;
|
||||
|
||||
return ResultSuccess();
|
||||
}
|
||||
|
||||
impl::DriverType DriverManager::GetDriverType() {
|
||||
/* Lock ourselves. */
|
||||
return m_driver_type.value_or(impl::DriverType::Unknown);
|
||||
}
|
||||
|
||||
IDriver *DriverManager::GetCurrentDriver() {
|
||||
/* Lock ourselves. */
|
||||
std::scoped_lock lk(m_mutex);
|
||||
|
||||
Reference in New Issue
Block a user