mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-23 19:26:55 -04:00
PM: Refactor for R_TRY, remove gotos
This commit is contained in:
parent
c60ee15449
commit
ee40dcd76f
15 changed files with 126 additions and 165 deletions
|
@ -13,7 +13,7 @@
|
|||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
#pragma once
|
||||
#include <switch.h>
|
||||
#include <stratosphere.hpp>
|
||||
|
@ -23,7 +23,7 @@ enum BootModeCmd {
|
|||
BootMode_Cmd_SetMaintenanceBoot = 1
|
||||
};
|
||||
|
||||
class BootModeService final : public IServiceObject {
|
||||
class BootModeService final : public IServiceObject {
|
||||
private:
|
||||
/* Actual commands. */
|
||||
void GetBootMode(Out<u32> out);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue