2008-09-02 03:57:21 +02:00
|
|
|
/****************************************************************************
|
|
|
|
* FCE Ultra 0.98.12
|
|
|
|
* Nintendo Wii/Gamecube Port
|
|
|
|
*
|
|
|
|
* Tantric September 2008
|
|
|
|
*
|
|
|
|
* gcvideo.h
|
|
|
|
*
|
|
|
|
* Video rendering
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _GCVIDEO_H_
|
|
|
|
#define _GCVIDEO_H_
|
|
|
|
|
|
|
|
void clearscreen ();
|
|
|
|
void showscreen ();
|
2008-10-23 10:18:40 +02:00
|
|
|
void InitGCVideo ();
|
|
|
|
void ResetVideo_Emu ();
|
|
|
|
void ResetVideo_Menu ();
|
|
|
|
void RenderFrame(unsigned char *XBuf);
|
2008-10-22 01:07:16 +02:00
|
|
|
void setFrameTimer();
|
2008-10-23 10:18:40 +02:00
|
|
|
void zoom (float speed);
|
|
|
|
void zoom_reset ();
|
2008-11-05 09:36:01 +01:00
|
|
|
void SetPalette();
|
2008-09-02 03:57:21 +02:00
|
|
|
|
|
|
|
// color palettes
|
|
|
|
#define MAXPAL 12
|
|
|
|
|
|
|
|
struct st_palettes {
|
2008-11-05 09:36:01 +01:00
|
|
|
char name[32], desc[32];
|
2008-09-02 03:57:21 +02:00
|
|
|
unsigned int data[64];
|
|
|
|
};
|
|
|
|
|
|
|
|
extern struct st_palettes palettes[];
|
2008-10-08 06:53:06 +02:00
|
|
|
extern int FDSSwitchRequested;
|
2008-10-21 09:50:37 +02:00
|
|
|
extern bool progressive;
|
2008-11-04 09:28:52 +01:00
|
|
|
u32 FrameTimer;
|
2008-09-02 03:57:21 +02:00
|
|
|
|
|
|
|
#endif
|