mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-20 18:05:11 -04:00
htc: ObserverThread (mostly), system now boots + works with htc in bg
This commit is contained in:
parent
79a3f442d6
commit
4d86863f2c
6 changed files with 83 additions and 7 deletions
|
@ -195,4 +195,15 @@ namespace ams::htc::server {
|
|||
}
|
||||
}
|
||||
|
||||
os::EventType *HtcmiscImpl::GetConnectionEvent() const {
|
||||
return m_connection_event.GetBase();
|
||||
}
|
||||
|
||||
bool HtcmiscImpl::IsConnected() const {
|
||||
/* Lock ourselves. */
|
||||
std::scoped_lock lk(m_connection_mutex);
|
||||
|
||||
return m_connected;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue