feat(Windows64): safely exit game & get monitors size that has the game window instead of primary

This commit is contained in:
2026-08-12 18:18:41 -04:00
parent bd0cc59a54
commit 82783c0812
5 changed files with 75 additions and 91 deletions
+2
View File
@@ -67,7 +67,9 @@ void StatsCounter::award(Stat* stat, unsigned int difficulty, unsigned int count
unordered_map<Stat*, int>::iterator leaderboardEntry = statBoards.find(stat);
if( leaderboardEntry != statBoards.end() )
{
#ifdef _DEBUG
app.DebugPrintf("[StatsCounter] award(): %X\n", leaderboardEntry->second << difficulty);
#endif
modifiedBoards |= (leaderboardEntry->second << difficulty);
if( flushCounter == 0 )
flushCounter = FLUSH_DELAY;