diff options
author | bunnei <bunneidev@gmail.com> | 2016-02-14 03:10:05 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2016-02-14 03:10:05 +0100 |
commit | 0d086616d1af239b8e41b246bea3c1ef85fc907f (patch) | |
tree | 0dc7778532b0e2d1c5acd0224266b8a67d961155 /src/core/hle/service/gsp_gpu.cpp | |
parent | Merge pull request #1264 from bunnei/fragment-lighting-hw (diff) | |
parent | BitField: Make trivially copyable and remove assignment operator (diff) | |
download | yuzu-0d086616d1af239b8e41b246bea3c1ef85fc907f.tar yuzu-0d086616d1af239b8e41b246bea3c1ef85fc907f.tar.gz yuzu-0d086616d1af239b8e41b246bea3c1ef85fc907f.tar.bz2 yuzu-0d086616d1af239b8e41b246bea3c1ef85fc907f.tar.lz yuzu-0d086616d1af239b8e41b246bea3c1ef85fc907f.tar.xz yuzu-0d086616d1af239b8e41b246bea3c1ef85fc907f.tar.zst yuzu-0d086616d1af239b8e41b246bea3c1ef85fc907f.zip |
Diffstat (limited to 'src/core/hle/service/gsp_gpu.cpp')
-rw-r--r-- | src/core/hle/service/gsp_gpu.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/gsp_gpu.cpp b/src/core/hle/service/gsp_gpu.cpp index 98b11c798..5838b6d71 100644 --- a/src/core/hle/service/gsp_gpu.cpp +++ b/src/core/hle/service/gsp_gpu.cpp @@ -347,7 +347,7 @@ void SignalInterrupt(InterruptId interrupt_id) { FrameBufferUpdate* info = GetFrameBufferInfo(thread_id, screen_id); if (info->is_dirty) { SetBufferSwap(screen_id, info->framebuffer_info[info->index]); - info->is_dirty = false; + info->is_dirty.Assign(false); } } } @@ -499,7 +499,7 @@ static void SetLcdForceBlack(Service::Interface* self) { // Since data is already zeroed, there is no need to explicitly set // the color to black (all zero). - data.is_enabled = enable_black; + data.is_enabled.Assign(enable_black); LCD::Write(HW::VADDR_LCD + 4 * LCD_REG_INDEX(color_fill_top), data.raw); // Top LCD LCD::Write(HW::VADDR_LCD + 4 * LCD_REG_INDEX(color_fill_bottom), data.raw); // Bottom LCD @@ -521,7 +521,7 @@ static void TriggerCmdReqQueue(Service::Interface* self) { ExecuteCommand(command_buffer->commands[i], thread_id); // Indicates that command has completed - command_buffer->number_commands = command_buffer->number_commands - 1; + command_buffer->number_commands.Assign(command_buffer->number_commands - 1); } } |