not64/main/timers.h
Extrems 3cde57f6c3
2015-02-04 02:42:06 -05:00

27 lines
732 B
C

/****************************************************************************************
* timers.h - timer functions borrowed from mupen64 and mupen64plus, modified by sepp256
****************************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
#ifndef __TIMERS_H__
#define __TIMERS_H__
typedef struct {
float fps; //Current fps
float vis; //Current VI/s
char frameDrawn;
char limitVIs; //0: NO VI Limit, 1: Limit VI/s, 2: Wait only if frame drawn
char useFpsModifier; //Modify FPS?
int fpsModifier; //Framerate modifier in %
} timers;
//extern timers Timers;
void InitTimer();
#endif // __TIMERS_H__
#ifdef __cplusplus
}
#endif