forked from sin365/AxibugEmuOnline
33 lines
544 B
C
33 lines
544 B
C
|
//
|
|||
|
// Multimedia timer support
|
|||
|
//
|
|||
|
#ifndef __CMMTIMER_INCLUDED__
|
|||
|
#define __CMMTIMER_INCLUDED__
|
|||
|
|
|||
|
#define WIN32_LEAN_AND_MEAN
|
|||
|
#include <windows.h>
|
|||
|
#include <mmsystem.h>
|
|||
|
#include "typedef.h"
|
|||
|
|
|||
|
class CMMTimer
|
|||
|
{
|
|||
|
public:
|
|||
|
CMMTimer();
|
|||
|
~CMMTimer();
|
|||
|
|
|||
|
static SQWORD GetMMTimer();
|
|||
|
static FLOAT CalcTimeDifference( SQWORD t0, SQWORD t1 );
|
|||
|
|
|||
|
protected:
|
|||
|
private:
|
|||
|
static BOOL m_bInitialize;
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\<5C>J<EFBFBD>E<EFBFBD><45><EFBFBD>^<5E>𗘗p<F0979897>o<EFBFBD><6F><EFBFBD>邩<EFBFBD>ǂ<EFBFBD><C782><EFBFBD><EFBFBD>̃t<CC83><74><EFBFBD>O
|
|||
|
static BOOL m_bHigh;
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\<5C>J<EFBFBD>E<EFBFBD><45><EFBFBD>^<5E><><EFBFBD>g<EFBFBD><67>
|
|||
|
static SQWORD m_hpFrequency;
|
|||
|
};
|
|||
|
|
|||
|
#endif // !__CMMTIMER_INCLUDED__
|
|||
|
|