mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-11 12:56:41 +00:00
nyx: Add capture effect on screenshots
This commit is contained in:
parent
2f7be43ccb
commit
a3f430c224
1 changed files with 6 additions and 0 deletions
|
@ -123,6 +123,12 @@ static void _save_fb_to_bmp()
|
|||
lv_obj_set_width(mbox, LV_DPI * 4);
|
||||
lv_obj_set_top(mbox, true);
|
||||
lv_obj_align(mbox, NULL, LV_ALIGN_IN_TOP_LEFT, 0, 0);
|
||||
|
||||
// Capture effect.
|
||||
display_backlight_brightness(255, 100);
|
||||
msleep(150);
|
||||
display_backlight_brightness(h_cfg.backlight - 20, 100);
|
||||
|
||||
manual_system_maintenance(true);
|
||||
|
||||
memcpy(bitmap + 0x36, fb, 0x384000);
|
||||
|
|
Loading…
Reference in a new issue