Services: Stubbed APM::OpenSession and the ISession interface.

# Conflicts:
#	src/core/hle/service/am/applet_oe.cpp
#	src/core/hle/service/apm/apm.cpp
This commit is contained in:
Subv 2018-01-15 17:19:32 -05:00 committed by bunnei
parent f7dc637a61
commit c5a0408ccc
3 changed files with 53 additions and 2 deletions

View file

@ -6,6 +6,7 @@
#include "core/hle/ipc_helpers.h"
#include "core/hle/kernel/event.h"
#include "core/hle/service/am/applet_oe.h"
#include "core/hle/service/apm/apm.h"
namespace Service {
namespace AM {
@ -184,7 +185,7 @@ private:
void GetOperationMode(Kernel::HLERequestContext& ctx) {
IPC::RequestBuilder rb{ctx, 3};
rb.Push(RESULT_SUCCESS);
rb.Push(static_cast<u8>(OperationMode::Handheld));
rb.Push(static_cast<u32>(APM::PerformanceMode::Handheld));
LOG_WARNING(Service, "(STUBBED) called");
}