mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-26 22:51:12 +00:00
50 lines
1.9 KiB
C++
50 lines
1.9 KiB
C++
/*
|
|
* Copyright (c) 2018-2019 Atmosphère-NX
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms and conditions of the GNU General Public License,
|
|
* version 2, as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope it will be useful, but WITHOUT
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
* more details.
|
|
*
|
|
* 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 "results_common.hpp"
|
|
|
|
namespace ams::dmnt {
|
|
|
|
R_DEFINE_NAMESPACE_RESULT_MODULE(13);
|
|
|
|
R_DEFINE_ERROR_RESULT(Unknown, 1);
|
|
R_DEFINE_ERROR_RESULT(DebuggingDisabled, 2);
|
|
|
|
/* Atmosphere extension. */
|
|
namespace cheat {
|
|
|
|
R_DEFINE_ABSTRACT_ERROR_RANGE(CheatError, 6500, 6599);
|
|
R_DEFINE_ERROR_RESULT(CheatNotAttached, 6500);
|
|
R_DEFINE_ERROR_RESULT(CheatNullBuffer, 6501);
|
|
R_DEFINE_ERROR_RESULT(CheatInvalidBuffer, 6502);
|
|
R_DEFINE_ERROR_RESULT(CheatUnknownId, 6503);
|
|
R_DEFINE_ERROR_RESULT(CheatOutOfResource, 6504);
|
|
R_DEFINE_ERROR_RESULT(CheatInvalid, 6505);
|
|
R_DEFINE_ERROR_RESULT(CheatCannotDisable, 6506);
|
|
|
|
R_DEFINE_ABSTRACT_ERROR_RANGE(FrozenAddressError, 6600, 6699);
|
|
R_DEFINE_ERROR_RESULT(FrozenAddressInvalidWidth, 6600);
|
|
R_DEFINE_ERROR_RESULT(FrozenAddressAlreadyExists, 6601);
|
|
R_DEFINE_ERROR_RESULT(FrozenAddressNotFound, 6602);
|
|
R_DEFINE_ERROR_RESULT(FrozenAddressOutOfResource, 6603);
|
|
|
|
R_DEFINE_ABSTRACT_ERROR_RANGE(VirtualMachineError, 6700, 6799);
|
|
R_DEFINE_ERROR_RESULT(VirtualMachineInvalidConditionDepth, 6700);
|
|
|
|
}
|
|
|
|
}
|