From 27a3454afa568d6c8468f706cbd150bf78c08ce8 Mon Sep 17 00:00:00 2001 From: Morph <39850852+Morph1984@users.noreply.github.com> Date: Sun, 23 Feb 2020 21:24:16 -0500 Subject: [PATCH] Address feedback --- src/core/hle/service/am/am.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp index 63a14bdf54..d1bf13c897 100644 --- a/src/core/hle/service/am/am.cpp +++ b/src/core/hle/service/am/am.cpp @@ -674,17 +674,11 @@ void ICommonStateGetter::GetCurrentFocusState(Kernel::HLERequestContext& ctx) { void ICommonStateGetter::SetLcdBacklighOffEnabled(Kernel::HLERequestContext& ctx) { IPC::RequestParser rp{ctx}; - auto is_lcd_backlight_off_enabled = rp.Pop(); + const auto is_lcd_backlight_off_enabled = rp.Pop(); LOG_WARNING(Service_AM, "(STUBBED) called. is_lcd_backlight_off_enabled={}", is_lcd_backlight_off_enabled); - if (is_lcd_backlight_off_enabled) { - // Turn off the backlight - } else { - // Turn on the backlight - } - IPC::ResponseBuilder rb{ctx, 2}; rb.Push(RESULT_SUCCESS); }