Address feedback

This commit is contained in:
Morph
2020-02-23 21:24:16 -05:00
parent 2d79b87c5d
commit 27a3454afa

View File

@@ -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<bool>();
const auto is_lcd_backlight_off_enabled = rp.Pop<bool>();
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);
}