diff options
author | MerryMage <MerryMage@users.noreply.github.com> | 2016-02-11 18:41:15 +0100 |
---|---|---|
committer | MerryMage <MerryMage@users.noreply.github.com> | 2016-02-12 20:51:16 +0100 |
commit | 6c71858c5c698a718045ba44eda495080417a84b (patch) | |
tree | 0dc7778532b0e2d1c5acd0224266b8a67d961155 /src/core/hle/service/gsp_gpu.cpp | |
parent | Merge pull request #1264 from bunnei/fragment-lighting-hw (diff) | |
download | yuzu-6c71858c5c698a718045ba44eda495080417a84b.tar yuzu-6c71858c5c698a718045ba44eda495080417a84b.tar.gz yuzu-6c71858c5c698a718045ba44eda495080417a84b.tar.bz2 yuzu-6c71858c5c698a718045ba44eda495080417a84b.tar.lz yuzu-6c71858c5c698a718045ba44eda495080417a84b.tar.xz yuzu-6c71858c5c698a718045ba44eda495080417a84b.tar.zst yuzu-6c71858c5c698a718045ba44eda495080417a84b.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); } } |