2019-07-18 04:04:00 +01:00
|
|
|
/*
|
|
|
|
* 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
|
2019-10-24 09:40:44 +01:00
|
|
|
#include "results_common.hpp"
|
2019-07-18 04:04:00 +01:00
|
|
|
|
2019-10-24 10:30:10 +01:00
|
|
|
namespace ams::dmnt {
|
2019-07-18 04:04:00 +01:00
|
|
|
|
2019-10-24 09:40:44 +01:00
|
|
|
R_DEFINE_NAMESPACE_RESULT_MODULE(13);
|
2019-07-18 04:04:00 +01:00
|
|
|
|
2019-10-24 09:40:44 +01:00
|
|
|
R_DEFINE_ERROR_RESULT(Unknown, 1);
|
|
|
|
R_DEFINE_ERROR_RESULT(DebuggingDisabled, 2);
|
2019-07-18 04:04:00 +01:00
|
|
|
|
2019-10-24 09:40:44 +01:00
|
|
|
/* Atmosphere extension. */
|
|
|
|
namespace cheat {
|
2019-07-18 04:04:00 +01:00
|
|
|
|
2019-10-24 09:40:44 +01:00
|
|
|
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);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|