#ifndef __SCEDISPLAY_H__
#define __SCEDISPLAY_H__

enum PspDisplayPixelFormats {
	PSP_DISPLAY_PIXEL_FORMAT_565 = 0,
	PSP_DISPLAY_PIXEL_FORMAT_5551,
	// 16-bit RGBA 4:4:4:4
	PSP_DISPLAY_PIXEL_FORMAT_4444,
	// 32-bit RGBA 8:8:8:
	PSP_DISPLAY_PIXEL_FORMAT_8888
};

enum PspDisplaySetBufSync {
	PSP_DISPLAY_SETBUF_IMMEDIATE = 0, 
	PSP_DISPLAY_SETBUF_NEXTFRAME = 1
};

enum PspDisplayErrorCodes
{
   SCE_DISPLAY_ERROR_OK    = 0,   
   SCE_DISPLAY_ERROR_POINTER    = 0x80000103,   
   SCE_DISPLAY_ERROR_ARGUMENT   = 0x800  
};

void (* sceDisplayGetAccumulatedHcount) (void) = (void *) (BASE_OFFSET + 0xe6b88); // WTF is this function?
unsigned int (* sceDisplayGetVcount) (void) = (void *) (BASE_OFFSET + 0xe6b70);
int (* sceDisplaySetFrameBuf) (void *topaddr, int bufferwidth, int pixelformat, int sync) = (void *) (BASE_OFFSET + 0xe6b68);
int (* sceDisplaySetMode) (int mode, int width, int height) = (void *) (BASE_OFFSET + 0xe6b60);
int (* sceDisplayWaitVblankStart) (void) = (void *) (BASE_OFFSET + 0xe6b78);
int (* sceDisplayWaitVblankStartCB) (void) = (void *) (BASE_OFFSET + 0xe6b80);

#endif
