fceugx/source/ngc/gcvideo.h

40 lines
829 B
C
Raw Normal View History

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 ();
void InitGCVideo ();
void ResetVideo_Emu ();
void ResetVideo_Menu ();
void RenderFrame(unsigned char *XBuf);
2008-10-22 01:07:16 +02:00
void setFrameTimer();
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[];
extern int FDSSwitchRequested;
extern bool progressive;
u32 FrameTimer;
2008-09-02 03:57:21 +02:00
#endif