diff options
author | notaz | 2011-01-03 00:14:35 +0200 |
---|---|---|
committer | notaz | 2011-01-03 00:14:35 +0200 |
commit | 78d78c3b21fbdc32b73b9e4c9e2719a148c32356 (patch) | |
tree | c3ed88439e02ec6bd1876826b154995071e1bd8d /plugins/gpu_unai | |
parent | e7267688b48c7e6619cab3dafe61212b166b389b (diff) | |
download | pcsx_rearmed-78d78c3b21fbdc32b73b9e4c9e2719a148c32356.tar.gz pcsx_rearmed-78d78c3b21fbdc32b73b9e4c9e2719a148c32356.tar.bz2 pcsx_rearmed-78d78c3b21fbdc32b73b9e4c9e2719a148c32356.zip |
gpu_unai: basic frameskip
only partially works but oh well
Diffstat (limited to 'plugins/gpu_unai')
-rw-r--r-- | plugins/gpu_unai/gpu.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/plugins/gpu_unai/gpu.cpp b/plugins/gpu_unai/gpu.cpp index 8a13521..fa19b63 100644 --- a/plugins/gpu_unai/gpu.cpp +++ b/plugins/gpu_unai/gpu.cpp @@ -911,7 +911,15 @@ void GPU_updateLace(void) if (!fb_dirty || (GPU_GP1&0x08800000)) return; - blit(); + if (!isSkip) { + blit(); + + fb_dirty = false; + if (*cbs->fskip_option) + isSkip = true; + } + else + isSkip = false; } long GPUopen(unsigned long *, char *, char *) |