mirror of
https://github.com/extremscorner/not64.git
synced 2025-04-02 10:52:37 -04:00
27 lines
732 B
C
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
|
|
|