GodMode9/arm11/source/hw/gpulcd.h
Wolfvak 016eac6982 - properly set up MMU tables with caching and other fun stuff
- maps a regular ARM-style exception vector table instead of using the bootrom vector redirection

features a ton of bugs because I'm missing something, it actually manages to boot fb3DS v1.2 and BAX fine, but fails to boot itself
2019-06-03 02:27:41 +02:00

17 lines
406 B
C

#pragma once
#include <types.h>
void LCD_SetBrightness(u8 brightness);
void LCD_Deinitialize(void);
void GPU_PSCFill(u32 start, u32 end, u32 fv);
#define PDC_RGBA8 (0<<0)
#define PDC_RGB24 (1<<0)
#define PDC_RGB565 (2<<0)
#define PDC_RGB5A1 (3<<0)
#define PDC_RGBA4 (4<<0)
void GPU_SetFramebufferMode(u32 screen, u8 mode);
void GPU_SetFramebuffers(const u32 *framebuffers);
void GPU_Init(void);