mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 05:32:47 +00:00
- moved brightness control to the ARM11 - moved HID updating to the ARM11 - moved screen init from ARM9 to the ARM11, always performed unconditionally - removed unnecessary SCREENINIT and SET_BRIGHTNESS pxi commands and other stuff I probably forgot about
22 lines
397 B
C
22 lines
397 B
C
#pragma once
|
|
#include <types.h>
|
|
|
|
#define VBLANK_INTERRUPT (0x2A)
|
|
|
|
void LCD_SetBrightness(u8 brightness);
|
|
void LCD_Deinitialize(void);
|
|
|
|
void GPU_PSCFill(u32 start, u32 end, u32 fv);
|
|
|
|
enum {
|
|
PDC_RGBA8 = 0,
|
|
PDC_RGB24 = 1,
|
|
PDC_RGB565 = 2,
|
|
PDC_RGB5A1 = 3,
|
|
PDC_RGBA4 = 4,
|
|
};
|
|
|
|
void GPU_SetFramebufferMode(u32 screen, u8 mode);
|
|
void GPU_SetFramebuffers(const u32 *framebuffers);
|
|
void GPU_Init(void);
|