mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-19 21:52:45 +00:00
Change when we call rc_client_do_frame to something that matches libretro
There's conflicting advice on when to do it, but to avoid people testing their cheats twice, let's match as closely as we can. This means that 30hz games will only have the callback run at 30hz. The duplicate frames option may interfere, just like it may on libretro.
This commit is contained in:
parent
9fdcef9a0f
commit
ec411e0ecb
@ -499,9 +499,6 @@ 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();
|
||||
|
@ -1432,6 +1432,9 @@ ScreenRenderFlags EmuScreen::render(ScreenRenderMode mode) {
|
||||
}
|
||||
|
||||
PSP_EndHostFrame();
|
||||
|
||||
// This place rougly matches how libretro handles it (after retro_frame).
|
||||
Achievements::FrameUpdate();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user