From 947cdbe4b10b04ea107cb93bc368f8228f1fbf66 Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 17 Feb 2024 11:08:11 -0500 Subject: ns: rename results header --- src/core/CMakeLists.txt | 2 +- src/core/hle/service/ns/errors.h | 12 ------------ src/core/hle/service/ns/ns.cpp | 2 +- src/core/hle/service/ns/ns_results.h | 12 ++++++++++++ 4 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 src/core/hle/service/ns/errors.h create mode 100644 src/core/hle/service/ns/ns_results.h (limited to 'src/core') diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 7770dbeae..c62555002 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -739,11 +739,11 @@ add_library(core STATIC hle/service/nim/nim.h hle/service/npns/npns.cpp hle/service/npns/npns.h - hle/service/ns/errors.h hle/service/ns/iplatform_service_manager.cpp hle/service/ns/iplatform_service_manager.h hle/service/ns/language.cpp hle/service/ns/language.h + hle/service/ns/ns_results.h hle/service/ns/ns.cpp hle/service/ns/ns.h hle/service/ns/pdm_qry.cpp diff --git a/src/core/hle/service/ns/errors.h b/src/core/hle/service/ns/errors.h deleted file mode 100644 index 16d2ea6f7..000000000 --- a/src/core/hle/service/ns/errors.h +++ /dev/null @@ -1,12 +0,0 @@ -// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#include "core/hle/result.h" - -namespace Service::NS { - -constexpr Result ResultApplicationLanguageNotFound{ErrorModule::NS, 300}; - -} diff --git a/src/core/hle/service/ns/ns.cpp b/src/core/hle/service/ns/ns.cpp index 19c3ff01b..2b95cdae3 100644 --- a/src/core/hle/service/ns/ns.cpp +++ b/src/core/hle/service/ns/ns.cpp @@ -11,10 +11,10 @@ #include "core/hle/service/filesystem/filesystem.h" #include "core/hle/service/glue/glue_manager.h" #include "core/hle/service/ipc_helpers.h" -#include "core/hle/service/ns/errors.h" #include "core/hle/service/ns/iplatform_service_manager.h" #include "core/hle/service/ns/language.h" #include "core/hle/service/ns/ns.h" +#include "core/hle/service/ns/ns_results.h" #include "core/hle/service/ns/pdm_qry.h" #include "core/hle/service/server_manager.h" #include "core/hle/service/set/settings_server.h" diff --git a/src/core/hle/service/ns/ns_results.h b/src/core/hle/service/ns/ns_results.h new file mode 100644 index 000000000..16d2ea6f7 --- /dev/null +++ b/src/core/hle/service/ns/ns_results.h @@ -0,0 +1,12 @@ +// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include "core/hle/result.h" + +namespace Service::NS { + +constexpr Result ResultApplicationLanguageNotFound{ErrorModule::NS, 300}; + +} -- cgit v1.2.3