rosalina: fast screenshots (10s -> 0.3s on my end)

This commit is contained in:
TuxSH
2020-05-08 16:03:37 +01:00
parent 09fd199487
commit 00850bf691
3 changed files with 59 additions and 41 deletions

View File

@@ -57,7 +57,7 @@
#define FB_BOTTOM_VRAM_ADDR ((void *)0x1F48F000) // cached
#define FB_BOTTOM_VRAM_PA 0x1848F000
#define FB_BOTTOM_SIZE (320 * 240 * 2)
#define FB_SCREENSHOT_SIZE (52 + 400 * 240 * 2)
#define FB_SCREENSHOT_SIZE (52 + 400 * 240 * 3)
#define SCREEN_BOT_WIDTH 320