summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-04-06 20:46:21 +0200
committerLiam <byteslice@airmail.cc>2022-04-07 02:07:01 +0200
commit0cfcee95c7d13d6ea2d7c73c6f1b64a17ceb2aca (patch)
tree635c360c4efe908dc0e2187b054b3aa0fbd8d5f6 /src/core/hle/service/am
parentMerge pull request #8162 from german77/bombslinger (diff)
downloadyuzu-0cfcee95c7d13d6ea2d7c73c6f1b64a17ceb2aca.tar
yuzu-0cfcee95c7d13d6ea2d7c73c6f1b64a17ceb2aca.tar.gz
yuzu-0cfcee95c7d13d6ea2d7c73c6f1b64a17ceb2aca.tar.bz2
yuzu-0cfcee95c7d13d6ea2d7c73c6f1b64a17ceb2aca.tar.lz
yuzu-0cfcee95c7d13d6ea2d7c73c6f1b64a17ceb2aca.tar.xz
yuzu-0cfcee95c7d13d6ea2d7c73c6f1b64a17ceb2aca.tar.zst
yuzu-0cfcee95c7d13d6ea2d7c73c6f1b64a17ceb2aca.zip
Diffstat (limited to 'src/core/hle/service/am')
-rw-r--r--src/core/hle/service/am/am.cpp9
-rw-r--r--src/core/hle/service/am/am.h1
2 files changed, 9 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);
diff --git a/src/core/hle/service/am/am.h b/src/core/hle/service/am/am.h
index fdd937b82..11a3c0459 100644
--- a/src/core/hle/service/am/am.h
+++ b/src/core/hle/service/am/am.h
@@ -336,6 +336,7 @@ private:
void TryPopFromFriendInvitationStorageChannel(Kernel::HLERequestContext& ctx);
void GetNotificationStorageChannelEvent(Kernel::HLERequestContext& ctx);
void GetHealthWarningDisappearedSystemEvent(Kernel::HLERequestContext& ctx);
+ void PrepareForJit(Kernel::HLERequestContext& ctx);
KernelHelpers::ServiceContext service_context;