Skip to content

Commit

Permalink
video: Disable vblank waiting when shown streaming
Browse files Browse the repository at this point in the history
the streaming hasn't delayad in my test, but it make similar as before
0.5.0 versions

resolve #152
  • Loading branch information
d3m3vilurr committed Jun 1, 2019
1 parent 60aec5c commit f791b3d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/video/vita.c
Original file line number Diff line number Diff line change
Expand Up @@ -438,9 +438,11 @@ void draw_indicators() {

void vitavideo_start() {
active_video_thread = true;
vita2d_set_vblank_wait(false);
}

void vitavideo_stop() {
vita2d_set_vblank_wait(true);
active_video_thread = false;
}

Expand Down

3 comments on commit f791b3d

@PandaBot2001
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, I just got Moonlight on my PSV, how/where do I install this fix?

@mirh
Copy link

@mirh mirh commented on f791b3d Feb 4, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PandaBot2001
Copy link

@PandaBot2001 PandaBot2001 commented on f791b3d Feb 4, 2020 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.