Skip to content
Snippets Groups Projects
Unverified Commit a01832b2 authored by bunnei's avatar bunnei Committed by GitHub
Browse files

Merge pull request #1981 from ogniK5377/open-app-area-create

Return no application area when games try to open an application area
parents 1c7696e0 48a526db
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,8 @@ namespace Service::NFP { ...@@ -20,7 +20,8 @@ namespace Service::NFP {
namespace ErrCodes { namespace ErrCodes {
constexpr ResultCode ERR_TAG_FAILED(ErrorModule::NFP, constexpr ResultCode ERR_TAG_FAILED(ErrorModule::NFP,
-1); // TODO(ogniK): Find the actual error code -1); // TODO(ogniK): Find the actual error code
} constexpr ResultCode ERR_NO_APPLICATION_AREA(ErrorModule::NFP, 152);
} // namespace ErrCodes
Module::Interface::Interface(std::shared_ptr<Module> module, const char* name) Module::Interface::Interface(std::shared_ptr<Module> module, const char* name)
: ServiceFramework(name), module(std::move(module)) { : ServiceFramework(name), module(std::move(module)) {
...@@ -292,10 +293,9 @@ private: ...@@ -292,10 +293,9 @@ private:
} }
void OpenApplicationArea(Kernel::HLERequestContext& ctx) { void OpenApplicationArea(Kernel::HLERequestContext& ctx) {
LOG_DEBUG(Service_NFP, "called"); LOG_WARNING(Service_NFP, "(STUBBED) called");
// We don't need to worry about this since we can just open the file
IPC::ResponseBuilder rb{ctx, 2}; IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS); rb.Push(ErrCodes::ERR_NO_APPLICATION_AREA);
} }
void GetApplicationAreaSize(Kernel::HLERequestContext& ctx) { void GetApplicationAreaSize(Kernel::HLERequestContext& ctx) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment