namespace sts -> namespace ams
namespace sts::ams -> ams::exosphere, ams::. This is to facilitate future use of ams:: namespace code in mesosphere, as we'll want to include ams::util, ams::result, ams::svc...
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
#include "dmnt_cheat_service.hpp"
|
||||
#include "impl/dmnt_cheat_api.hpp"
|
||||
|
||||
namespace sts::dmnt::cheat {
|
||||
namespace ams::dmnt::cheat {
|
||||
|
||||
/* ========================================================================================= */
|
||||
/* ==================================== Meta Commands ==================================== */
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include <stratosphere.hpp>
|
||||
#include <stratosphere/dmnt.hpp>
|
||||
|
||||
namespace sts::dmnt::cheat {
|
||||
namespace ams::dmnt::cheat {
|
||||
|
||||
class CheatService final : public sf::IServiceObject {
|
||||
private:
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "dmnt_cheat_debug_events_manager.hpp"
|
||||
#include <stratosphere/map.hpp>
|
||||
|
||||
namespace sts::dmnt::cheat::impl {
|
||||
namespace ams::dmnt::cheat::impl {
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#include <stratosphere.hpp>
|
||||
#include <stratosphere/dmnt.hpp>
|
||||
|
||||
namespace sts::dmnt::cheat::impl {
|
||||
namespace ams::dmnt::cheat::impl {
|
||||
|
||||
bool GetHasActiveCheatProcess();
|
||||
Handle GetCheatProcessEventHandle();
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
/* WORKAROUND: This design prevents a kernel deadlock from occurring on 6.0.0+ */
|
||||
|
||||
namespace sts::dmnt::cheat::impl {
|
||||
namespace ams::dmnt::cheat::impl {
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#include <switch.h>
|
||||
#include <stratosphere.hpp>
|
||||
|
||||
namespace sts::dmnt::cheat::impl {
|
||||
namespace ams::dmnt::cheat::impl {
|
||||
|
||||
void ContinueCheatProcess(Handle cheat_dbg_hnd);
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#include "dmnt_cheat_vm.hpp"
|
||||
#include "dmnt_cheat_api.hpp"
|
||||
|
||||
namespace sts::dmnt::cheat::impl {
|
||||
namespace ams::dmnt::cheat::impl {
|
||||
|
||||
void CheatVirtualMachine::DebugLog(u32 log_id, u64 value) {
|
||||
/* Just unconditionally try to create the log folder. */
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include <stratosphere.hpp>
|
||||
#include <stratosphere/dmnt.hpp>
|
||||
|
||||
namespace sts::dmnt::cheat::impl {
|
||||
namespace ams::dmnt::cheat::impl {
|
||||
|
||||
enum CheatVmOpcodeType : u32 {
|
||||
CheatVmOpcodeType_StoreStatic = 0,
|
||||
|
||||
@@ -43,19 +43,19 @@ extern "C" {
|
||||
void __appExit(void);
|
||||
}
|
||||
|
||||
namespace sts::ams {
|
||||
namespace ams {
|
||||
|
||||
ncm::TitleId StratosphereTitleId = ncm::TitleId::Dmnt;
|
||||
ncm::TitleId CurrentTitleId = ncm::TitleId::Dmnt;
|
||||
|
||||
namespace result {
|
||||
|
||||
bool CallFatalOnResultAssertion = true;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
namespace sts::result {
|
||||
|
||||
bool CallFatalOnResultAssertion = true;
|
||||
|
||||
}
|
||||
|
||||
using namespace sts;
|
||||
using namespace ams;
|
||||
|
||||
void __libnx_initheap(void) {
|
||||
void* addr = nx_inner_heap;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#include <switch.h>
|
||||
#include <stratosphere.hpp>
|
||||
|
||||
namespace sts::dmnt {
|
||||
namespace ams::dmnt {
|
||||
|
||||
/* TODO: Move into libstratosphere, eventually. */
|
||||
struct TargetIOFileHandle : sf::LargeData, sf::PrefersMapAliasTransferMode {
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
#include "dmnt_service.hpp"
|
||||
|
||||
namespace sts::dmnt {
|
||||
namespace ams::dmnt {
|
||||
|
||||
Result DebugMonitorService::BreakDebugProcess(Handle debug_hnd) {
|
||||
/* Nintendo discards the output of this command, but we will return it. */
|
||||
|
||||
@@ -20,15 +20,15 @@
|
||||
namespace std {
|
||||
|
||||
template<>
|
||||
struct hash<sts::dmnt::TargetIOFileHandle> {
|
||||
u64 operator()(sts::dmnt::TargetIOFileHandle const &handle) const noexcept {
|
||||
struct hash<ams::dmnt::TargetIOFileHandle> {
|
||||
u64 operator()(ams::dmnt::TargetIOFileHandle const &handle) const noexcept {
|
||||
return handle.GetValue();
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
namespace sts::dmnt {
|
||||
namespace ams::dmnt {
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user