summaryrefslogtreecommitdiff
path: root/video.c
diff options
context:
space:
mode:
authorTwinaphex2020-02-29 19:03:14 +0100
committerGitHub2020-02-29 19:03:14 +0100
commitc513ecee59b088014369ab30af634a1cc06fda37 (patch)
treec3caf73a9e62663a82833ecbcaabf6cd0008a889 /video.c
parent4d6846b4b72f0f5bbfeb684106cbf5fca8d4743a (diff)
parent3df169d3e8cb0c7b8c7cf1b7615d26595ebef7d3 (diff)
downloadpicogpsp-c513ecee59b088014369ab30af634a1cc06fda37.tar.gz
picogpsp-c513ecee59b088014369ab30af634a1cc06fda37.tar.bz2
picogpsp-c513ecee59b088014369ab30af634a1cc06fda37.zip
Merge pull request #63 from bmaupin/add-manual-frame-skipping
Add manual frame skipping
Diffstat (limited to 'video.c')
-rw-r--r--video.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/video.c b/video.c
index 48469e9..23cd368 100644
--- a/video.c
+++ b/video.c
@@ -4437,6 +4437,9 @@ void update_scanline(void)
order_layers((dispcnt >> 8) & active_layers[video_mode]);
+ if(skip_next_frame)
+ return;
+
// If the screen is in in forced blank draw pure white.
if(dispcnt & 0x80)
{