Move Achievements::FrameUpdate call to hleEnterVblank for consistency

This commit is contained in:
Henrik Rydgård 2023-07-13 16:47:16 +02:00
parent 66e54dee11
commit 5aeccca85b
2 changed files with 3 additions and 2 deletions

View File

@ -506,6 +506,9 @@ static void DoFrameIdleTiming() {
void hleEnterVblank(u64 userdata, int cyclesLate) {
int vbCount = userdata;
// This should be a good place to do it. Should happen once per vblank. Here or in leave? Not sure it matters much.
Achievements::FrameUpdate();
VERBOSE_LOG(SCEDISPLAY, "Enter VBlank %i", vbCount);
DisplayFireVblankStart();

View File

@ -1146,8 +1146,6 @@ void EmuScreen::update() {
}
}
}
Achievements::FrameUpdate();
}
void EmuScreen::checkPowerDown() {