Use 64 bits for GetTickCount64

This commit is contained in:
GabsPuNs
2026-04-13 04:41:54 -04:00
parent 3d5357eeb3
commit 48d1f1dfe8
9 changed files with 17 additions and 15 deletions

View File

@@ -1301,7 +1301,7 @@ void Tutorial::tick()
// Don't do anything for the first 2 seconds so that the loading screen is gone
if(!m_bHasTickedOnce)
{
int time = GetTickCount64();
uint64_t time = GetTickCount64();
if(m_firstTickTime == 0)
{
m_firstTickTime = time;
@@ -1779,7 +1779,7 @@ bool Tutorial::setMessage(TutorialHint *hint, PopupMessageDetails *message)
bool hintsOn = m_isFullTutorial || (app.GetGameSettings(m_iPad,eGameSetting_Hints) && app.GetGameSettings(m_iPad,eGameSetting_DisplayHUD));
bool messageShown = false;
DWORD time = GetTickCount64();
DWORD64 time = GetTickCount64();
if(message != nullptr && (message->m_forceDisplay || hintsOn) &&
(!message->m_delay ||
(