mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-12-27 02:31:22 -08:00
am: Stub SetScreenShotImageOrientation.
- Used by Super Mario Odyssey.
This commit is contained in:
parent
4fa3511a63
commit
b7fb9f2071
@ -136,7 +136,7 @@ ISelfController::ISelfController(std::shared_ptr<NVFlinger::NVFlinger> nvflinger
|
|||||||
{16, &ISelfController::SetOutOfFocusSuspendingEnabled, "SetOutOfFocusSuspendingEnabled"},
|
{16, &ISelfController::SetOutOfFocusSuspendingEnabled, "SetOutOfFocusSuspendingEnabled"},
|
||||||
{17, nullptr, "SetControllerFirmwareUpdateSection"},
|
{17, nullptr, "SetControllerFirmwareUpdateSection"},
|
||||||
{18, nullptr, "SetRequiresCaptureButtonShortPressedMessage"},
|
{18, nullptr, "SetRequiresCaptureButtonShortPressedMessage"},
|
||||||
{19, nullptr, "SetScreenShotImageOrientation"},
|
{19, &ISelfController::SetScreenShotImageOrientation, "SetScreenShotImageOrientation"},
|
||||||
{20, nullptr, "SetDesirableKeyboardLayout"},
|
{20, nullptr, "SetDesirableKeyboardLayout"},
|
||||||
{40, &ISelfController::CreateManagedDisplayLayer, "CreateManagedDisplayLayer"},
|
{40, &ISelfController::CreateManagedDisplayLayer, "CreateManagedDisplayLayer"},
|
||||||
{41, nullptr, "IsSystemBufferSharingEnabled"},
|
{41, nullptr, "IsSystemBufferSharingEnabled"},
|
||||||
@ -254,6 +254,13 @@ void ISelfController::GetLibraryAppletLaunchableEvent(Kernel::HLERequestContext&
|
|||||||
LOG_WARNING(Service_AM, "(STUBBED) called");
|
LOG_WARNING(Service_AM, "(STUBBED) called");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ISelfController::SetScreenShotImageOrientation(Kernel::HLERequestContext& ctx) {
|
||||||
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
|
rb.Push(RESULT_SUCCESS);
|
||||||
|
|
||||||
|
LOG_WARNING(Service_AM, "(STUBBED) called");
|
||||||
|
}
|
||||||
|
|
||||||
void ISelfController::CreateManagedDisplayLayer(Kernel::HLERequestContext& ctx) {
|
void ISelfController::CreateManagedDisplayLayer(Kernel::HLERequestContext& ctx) {
|
||||||
// TODO(Subv): Find out how AM determines the display to use, for now just create the layer
|
// TODO(Subv): Find out how AM determines the display to use, for now just create the layer
|
||||||
// in the Default display.
|
// in the Default display.
|
||||||
|
@ -83,6 +83,7 @@ private:
|
|||||||
void LockExit(Kernel::HLERequestContext& ctx);
|
void LockExit(Kernel::HLERequestContext& ctx);
|
||||||
void UnlockExit(Kernel::HLERequestContext& ctx);
|
void UnlockExit(Kernel::HLERequestContext& ctx);
|
||||||
void GetLibraryAppletLaunchableEvent(Kernel::HLERequestContext& ctx);
|
void GetLibraryAppletLaunchableEvent(Kernel::HLERequestContext& ctx);
|
||||||
|
void SetScreenShotImageOrientation(Kernel::HLERequestContext& ctx);
|
||||||
void CreateManagedDisplayLayer(Kernel::HLERequestContext& ctx);
|
void CreateManagedDisplayLayer(Kernel::HLERequestContext& ctx);
|
||||||
void SetScreenShotPermission(Kernel::HLERequestContext& ctx);
|
void SetScreenShotPermission(Kernel::HLERequestContext& ctx);
|
||||||
void SetHandlesRequestToDisplay(Kernel::HLERequestContext& ctx);
|
void SetHandlesRequestToDisplay(Kernel::HLERequestContext& ctx);
|
||||||
|
Loading…
Reference in New Issue
Block a user