diff options
author | bunnei <bunneidev@gmail.com> | 2022-04-07 03:34:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-07 03:34:45 +0200 |
commit | 172137f1a08cf5a702ca6da6ecba0329b10e0ed7 (patch) | |
tree | dd5f1a3ffbc709e9fa2fd5ad53c24146fc318486 /src/core/hle/service/am/am.cpp | |
parent | Merge pull request #8122 from bunnei/improve-thread-usage (diff) | |
parent | service: jit: stub JIT service (diff) | |
download | yuzu-172137f1a08cf5a702ca6da6ecba0329b10e0ed7.tar yuzu-172137f1a08cf5a702ca6da6ecba0329b10e0ed7.tar.gz yuzu-172137f1a08cf5a702ca6da6ecba0329b10e0ed7.tar.bz2 yuzu-172137f1a08cf5a702ca6da6ecba0329b10e0ed7.tar.lz yuzu-172137f1a08cf5a702ca6da6ecba0329b10e0ed7.tar.xz yuzu-172137f1a08cf5a702ca6da6ecba0329b10e0ed7.tar.zst yuzu-172137f1a08cf5a702ca6da6ecba0329b10e0ed7.zip |
Diffstat (limited to 'src/core/hle/service/am/am.cpp')
-rw-r--r-- | src/core/hle/service/am/am.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp index 420de3c54..4d7e5ecd3 100644 --- a/src/core/hle/service/am/am.cpp +++ b/src/core/hle/service/am/am.cpp @@ -1337,7 +1337,7 @@ IApplicationFunctions::IApplicationFunctions(Core::System& system_) {200, nullptr, "GetLastApplicationExitReason"}, {500, nullptr, "StartContinuousRecordingFlushForDebug"}, {1000, nullptr, "CreateMovieMaker"}, - {1001, nullptr, "PrepareForJit"}, + {1001, &IApplicationFunctions::PrepareForJit, "PrepareForJit"}, }; // clang-format on @@ -1787,6 +1787,13 @@ void IApplicationFunctions::GetHealthWarningDisappearedSystemEvent(Kernel::HLERe rb.PushCopyObjects(health_warning_disappeared_system_event->GetReadableEvent()); } +void IApplicationFunctions::PrepareForJit(Kernel::HLERequestContext& ctx) { + LOG_WARNING(Service_AM, "(STUBBED) called"); + + IPC::ResponseBuilder rb{ctx, 2}; + rb.Push(ResultSuccess); +} + void InstallInterfaces(SM::ServiceManager& service_manager, NVFlinger::NVFlinger& nvflinger, Core::System& system) { auto message_queue = std::make_shared<AppletMessageQueue>(system); |