Skip to content

Commit

Permalink
really fix PS1 slowdown that required enter/exit menu to remove
Browse files Browse the repository at this point in the history
  • Loading branch information
rsn8887 committed Oct 16, 2018
1 parent c5c0ac2 commit a0f2f32
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions user/menu.c
Expand Up @@ -473,13 +473,16 @@ int AdrenalineDraw(SceSize args, void *argp) {
while (1) {
SceAdrenaline *adrenaline = (SceAdrenaline *)CONVERT_ADDRESS(ADRENALINE_ADDRESS);

// wait once for vblank after switching from psp to pops mode
// this fixes slowdown in PS1 games that used to require enter/exit Adrenaline menu
// pause/unpause pops once after switching from psp to pops mode
// this pause/unpause fixes slowdown in PS1 games that used to require manually entering/exiting menu
if (!adrenaline->pops_mode) {
lastPops = 0;
}

if (adrenaline->pops_mode && lastPops == 0) {
ScePspemuPausePops(1);
sceDisplayWaitVblankStart();
ScePspemuPausePops(0);
sceDisplayWaitVblankStart();
lastPops = 1;
}
Expand Down

0 comments on commit a0f2f32

Please sign in to comment.