Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. void *conf_lcd_io_for_rendering()
  2. {
  3. s_unknown_1 *g_struct; // r10
  4. s_lcd_bg_io_conf *lcd_bg_io_conf; // r5
  5. void *result; // r0
  6. s_blending_io_conf *blending_io_conf; // r5
  7.  
  8. lcd_bg_io_conf = g_struct->lcd_bg_io_conf_200AC40;
  9. IO_MOSAIC = lcd_bg_io_conf->mosaic_size; // set mosaic mode
  10. memcpy32(&lcd_bg_io_conf->background_cnt0, &IO_BG0CNT, 0x38u);// configure BG
  11. CpuSet_2(g_struct->window_conf_200F3A0, &IO_WIN0H, 0xCu);
  12. blending_io_conf = g_struct->blending_io_conf_2009740;
  13. BLDCNT = *&blending_io_conf->blending_cnt;
  14. BLDY = blending_io_conf->blending_brightness;
  15. DISPCNT = g_struct->lcd_bg_io_conf_200AC40->display_cnt;
  16. return result;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement