Changed a data type.

This commit is contained in:
Leon Styhre 2023-01-23 18:05:54 +01:00
parent 0bfda9955c
commit 1e52884abe

View file

@ -513,8 +513,8 @@ bool SystemData::loadConfig()
const bool splashScreen {Settings::getInstance()->getBool("SplashScreen")}; const bool splashScreen {Settings::getInstance()->getBool("SplashScreen")};
float systemCount {0.0f}; float systemCount {0.0f};
float loadedSystems {0.0f}; float loadedSystems {0.0f};
Uint64 lastTime {0}; uint64_t lastTime {0};
Uint64 accumulator {0}; uint64_t accumulator {0};
for (pugi::xml_node system {systemList.child("system")}; system; for (pugi::xml_node system {systemList.child("system")}; system;
system = system.next_sibling("system")) { system = system.next_sibling("system")) {
@ -535,7 +535,7 @@ bool SystemData::loadConfig()
path = system.child("path").text().get(); path = system.child("path").text().get();
if (splashScreen) { if (splashScreen) {
const Uint64 curTime {SDL_GetTicks64()}; const uint64_t curTime {SDL_GetTicks64()};
accumulator += curTime - lastTime; accumulator += curTime - lastTime;
lastTime = curTime; lastTime = curTime;
++loadedSystems; ++loadedSystems;