summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/GraphicsModSystem
diff options
context:
space:
mode:
authorLillyJadeKatrin <lilly.kitty.1988@gmail.com>2023-04-15 12:32:52 -0400
committerLillyJadeKatrin <lilly.kitty.1988@gmail.com>2023-05-11 07:56:12 -0400
commitc9c2e17e5a8e245475d34865da4fd2d1fb0e100a (patch)
treed948177f8a5d2b5f7f48a4c73daaed292eec94b4 /Source/Core/VideoCommon/GraphicsModSystem
parent22ee729055a94e7d5da1a8b3f7dbaa17d7655b25 (diff)
Added DoFrame to AchievementManager
DoFrame is a function called every frame by the emulator so that rcheevos can be properly updated and processed. It requires a memory peeker and an event handler to be passed in; the memory peeker is called repeatedly each frame to measure what's in memory and compare to achievement definitions, and any events thrown by that comparison are sent to the event handler. Also, DoFrame checks for the current system time to determine when to ping rich presence. Rich Presence on the RetroAchievements website updates every two minutes, so if two minutes have elapsed since the previous ping, another ping is sent.
Diffstat (limited to 'Source/Core/VideoCommon/GraphicsModSystem')
0 files changed, 0 insertions, 0 deletions