diff options
| author | 2019-01-04 21:42:23 -0500 | |
|---|---|---|
| committer | 2019-01-04 21:42:23 -0500 | |
| commit | a01832b2e060a49a37e044bb16e3d94a01968d33 (patch) | |
| tree | fb15507516999d7565e86a5423ccb9a07a85a9e2 /src | |
| parent | Merge pull request #1980 from ogniK5377/applet-msg-update (diff) | |
| parent | Return no application area when games try to open an application area (diff) | |
| download | yuzu-a01832b2e060a49a37e044bb16e3d94a01968d33.tar.gz yuzu-a01832b2e060a49a37e044bb16e3d94a01968d33.tar.xz yuzu-a01832b2e060a49a37e044bb16e3d94a01968d33.zip | |
Merge pull request #1981 from ogniK5377/open-app-area-create
Return no application area when games try to open an application area
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/nfp/nfp.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/nfp/nfp.cpp b/src/core/hle/service/nfp/nfp.cpp index 2254fb46b..1c4482e47 100644 --- a/src/core/hle/service/nfp/nfp.cpp +++ b/src/core/hle/service/nfp/nfp.cpp | |||
| @@ -20,7 +20,8 @@ namespace Service::NFP { | |||
| 20 | namespace ErrCodes { | 20 | namespace ErrCodes { |
| 21 | constexpr ResultCode ERR_TAG_FAILED(ErrorModule::NFP, | 21 | constexpr ResultCode ERR_TAG_FAILED(ErrorModule::NFP, |
| 22 | -1); // TODO(ogniK): Find the actual error code | 22 | -1); // TODO(ogniK): Find the actual error code |
| 23 | } | 23 | constexpr ResultCode ERR_NO_APPLICATION_AREA(ErrorModule::NFP, 152); |
| 24 | } // namespace ErrCodes | ||
| 24 | 25 | ||
| 25 | Module::Interface::Interface(std::shared_ptr<Module> module, const char* name) | 26 | Module::Interface::Interface(std::shared_ptr<Module> module, const char* name) |
| 26 | : ServiceFramework(name), module(std::move(module)) { | 27 | : ServiceFramework(name), module(std::move(module)) { |
| @@ -292,10 +293,9 @@ private: | |||
| 292 | } | 293 | } |
| 293 | 294 | ||
| 294 | void OpenApplicationArea(Kernel::HLERequestContext& ctx) { | 295 | void OpenApplicationArea(Kernel::HLERequestContext& ctx) { |
| 295 | LOG_DEBUG(Service_NFP, "called"); | 296 | LOG_WARNING(Service_NFP, "(STUBBED) called"); |
| 296 | // We don't need to worry about this since we can just open the file | ||
| 297 | IPC::ResponseBuilder rb{ctx, 2}; | 297 | IPC::ResponseBuilder rb{ctx, 2}; |
| 298 | rb.Push(RESULT_SUCCESS); | 298 | rb.Push(ErrCodes::ERR_NO_APPLICATION_AREA); |
| 299 | } | 299 | } |
| 300 | 300 | ||
| 301 | void GetApplicationAreaSize(Kernel::HLERequestContext& ctx) { | 301 | void GetApplicationAreaSize(Kernel::HLERequestContext& ctx) { |