mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-02 15:49:48 -04:00
ams: use R_SUCCEED, R_THROW globally
This commit is contained in:
parent
e5b1739f65
commit
dd78ede99f
370 changed files with 2107 additions and 2107 deletions
|
@ -43,15 +43,15 @@ namespace ams::htclow::driver {
|
|||
//m_plain_channel_driver.Open();
|
||||
//m_open_driver = std::addressof(m_plain_channel_driver);
|
||||
//break;
|
||||
return htclow::ResultUnknownDriverType();
|
||||
R_THROW(htclow::ResultUnknownDriverType());
|
||||
default:
|
||||
return htclow::ResultUnknownDriverType();
|
||||
R_THROW(htclow::ResultUnknownDriverType());
|
||||
}
|
||||
|
||||
/* Set the driver type. */
|
||||
m_driver_type = driver_type;
|
||||
|
||||
return ResultSuccess();
|
||||
R_SUCCEED();
|
||||
}
|
||||
|
||||
void DriverManager::CloseDriver() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue