AxibugEmuOnline/References/VirtuaNESex_src_191105/MMTimer.h

33 lines
544 B
C
Raw Normal View History

2024-08-05 17:58:53 +08:00
//
// 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__