Atmosphere/stratosphere/dmnt/source/dmnt_cheat_service.cpp

102 lines
2.5 KiB
C++
Raw Normal View History

2019-02-27 10:50:53 +00:00
/*
* Copyright (c) 2018 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/>.
*/
#include <switch.h>
#include "dmnt_cheat_service.hpp"
void DmntCheatService::HasCheatProcess(Out<bool> out) {
/* TODO */
std::abort();
}
void DmntCheatService::GetCheatProcessEvent(Out<CopiedHandle> out_event) {
/* TODO */
std::abort();
}
Result DmntCheatService::GetCheatProcessMetadata(Out<CheatProcessMetadata> out_metadata) {
/* TODO */
return 0xF601;
}
Result DmntCheatService::GetCheatProcessMappingCount(Out<u64> out_count) {
/* TODO */
return 0xF601;
}
Result DmntCheatService::GetCheatProcessMappings(OutBuffer<MemoryInfo> mappings, Out<u64> out_count, u64 offset) {
/* TODO */
return 0xF601;
}
Result DmntCheatService::ReadCheatProcessMemory(OutBuffer<u8> buffer, u64 address, u64 out_size) {
/* TODO */
return 0xF601;
}
Result DmntCheatService::WriteCheatProcessMemory(InBuffer<u8> buffer, u64 address, u64 in_size) {
/* TODO */
return 0xF601;
}
Result DmntCheatService::GetCheatCount(Out<u64> out_count) {
/* TODO */
return 0xF601;
}
Result DmntCheatService::GetCheats(OutBuffer<CheatEntry> cheats, Out<u64> out_count, u64 offset) {
/* TODO */
return 0xF601;
}
Result DmntCheatService::GetCheatById(OutBuffer<CheatEntry> cheat, u32 cheat_id) {
/* TODO */
return 0xF601;
}
Result DmntCheatService::ToggleCheat(u32 cheat_id) {
/* TODO */
return 0xF601;
}
Result DmntCheatService::AddCheat(InBuffer<CheatEntry> cheat) {
/* TODO */
return 0xF601;
}
Result DmntCheatService::RemoveCheat(u32 cheat_id) {
/* TODO */
return 0xF601;
}
Result DmntCheatService::GetFrozenAddressCount(Out<u64> out_count) {
/* TODO */
return 0xF601;
}
Result DmntCheatService::GetFrozenAddresses(OutBuffer<uintptr_t> addresses, Out<u64> out_count, u64 offset) {
/* TODO */
return 0xF601;
}
Result DmntCheatService::ToggleAddressFrozen(uintptr_t address) {
/* TODO */
return 0xF601;
}