diff options
author | bunnei <bunneidev@gmail.com> | 2015-01-04 06:08:11 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-01-08 00:06:00 +0100 |
commit | f7a3f45f1e5e507c81e2ad1a1a33dbeb62e64a99 (patch) | |
tree | 29ce6589ebf3f504a38f679501b58f431ab9dace /src/core/hle | |
parent | Merge pull request #402 from chrisvj/master (diff) | |
download | yuzu-f7a3f45f1e5e507c81e2ad1a1a33dbeb62e64a99.tar yuzu-f7a3f45f1e5e507c81e2ad1a1a33dbeb62e64a99.tar.gz yuzu-f7a3f45f1e5e507c81e2ad1a1a33dbeb62e64a99.tar.bz2 yuzu-f7a3f45f1e5e507c81e2ad1a1a33dbeb62e64a99.tar.lz yuzu-f7a3f45f1e5e507c81e2ad1a1a33dbeb62e64a99.tar.xz yuzu-f7a3f45f1e5e507c81e2ad1a1a33dbeb62e64a99.tar.zst yuzu-f7a3f45f1e5e507c81e2ad1a1a33dbeb62e64a99.zip |
Diffstat (limited to 'src/core/hle')
-rw-r--r-- | src/core/hle/service/gsp_gpu.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/hle/service/gsp_gpu.cpp b/src/core/hle/service/gsp_gpu.cpp index 0127d4ee5..26a43217e 100644 --- a/src/core/hle/service/gsp_gpu.cpp +++ b/src/core/hle/service/gsp_gpu.cpp @@ -291,8 +291,11 @@ static void ExecuteCommand(const Command& command, u32 thread_id) { // Update framebuffer information if requested for (int screen_id = 0; screen_id < 2; ++screen_id) { FrameBufferUpdate* info = GetFrameBufferInfo(thread_id, screen_id); - if (info->is_dirty) + + if (info->is_dirty) { SetBufferSwap(screen_id, info->framebuffer_info[info->index]); + info->framebuffer_info->active_fb = info->framebuffer_info->active_fb ^ 1; + } info->is_dirty = false; } |