mirror of
https://github.com/narzoul/DDrawCompat
synced 2024-12-30 08:55:36 +01:00
16 lines
192 B
C++
16 lines
192 B
C++
#pragma once
|
|
|
|
#include "Time.h"
|
|
|
|
namespace Time
|
|
{
|
|
long long g_qpcFrequency = 0;
|
|
|
|
void init()
|
|
{
|
|
LARGE_INTEGER qpc;
|
|
QueryPerformanceFrequency(&qpc);
|
|
g_qpcFrequency = qpc.QuadPart;
|
|
}
|
|
}
|