summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2015-02-10 19:57:48 -0500
committerGravatar bunnei2015-02-10 19:57:48 -0500
commit168eb27aee7992b8abf9f505b8c246a25fc8dca5 (patch)
tree79e6a61670fbd6b0c0b6b13adb1ac70614dee884 /src
parentMerge pull request #552 from bunnei/setbufferswap-fix (diff)
downloadyuzu-168eb27aee7992b8abf9f505b8c246a25fc8dca5.tar.gz
yuzu-168eb27aee7992b8abf9f505b8c246a25fc8dca5.tar.xz
yuzu-168eb27aee7992b8abf9f505b8c246a25fc8dca5.zip
GSP: Fixed typo in SignalInterrupt
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/gsp_gpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/gsp_gpu.cpp b/src/core/hle/service/gsp_gpu.cpp
index 027b9fa92..359e41dd1 100644
--- a/src/core/hle/service/gsp_gpu.cpp
+++ b/src/core/hle/service/gsp_gpu.cpp
@@ -227,7 +227,7 @@ void SignalInterrupt(InterruptId interrupt_id) {
227 // Update framebuffer information if requested 227 // Update framebuffer information if requested
228 // TODO(yuriks): Confirm where this code should be called. It is definitely updated without 228 // TODO(yuriks): Confirm where this code should be called. It is definitely updated without
229 // executing any GSP commands, only waiting on the event. 229 // executing any GSP commands, only waiting on the event.
230 int screen_id = (interrupt_id == InterruptId::PDC0) ? 0 : (interrupt_id == InterruptId::PDC0) ? 1 : -1; 230 int screen_id = (interrupt_id == InterruptId::PDC0) ? 0 : (interrupt_id == InterruptId::PDC1) ? 1 : -1;
231 if (screen_id != -1) { 231 if (screen_id != -1) {
232 FrameBufferUpdate* info = GetFrameBufferInfo(thread_id, screen_id); 232 FrameBufferUpdate* info = GetFrameBufferInfo(thread_id, screen_id);
233 if (info->is_dirty) { 233 if (info->is_dirty) {