mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-11 08:14:58 +00:00
GSP: Fixed typo in SignalInterrupt
This commit is contained in:
parent
76e7d41f88
commit
168eb27aee
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ void SignalInterrupt(InterruptId interrupt_id) {
|
||||||
// Update framebuffer information if requested
|
// Update framebuffer information if requested
|
||||||
// TODO(yuriks): Confirm where this code should be called. It is definitely updated without
|
// TODO(yuriks): Confirm where this code should be called. It is definitely updated without
|
||||||
// executing any GSP commands, only waiting on the event.
|
// executing any GSP commands, only waiting on the event.
|
||||||
int screen_id = (interrupt_id == InterruptId::PDC0) ? 0 : (interrupt_id == InterruptId::PDC0) ? 1 : -1;
|
int screen_id = (interrupt_id == InterruptId::PDC0) ? 0 : (interrupt_id == InterruptId::PDC1) ? 1 : -1;
|
||||||
if (screen_id != -1) {
|
if (screen_id != -1) {
|
||||||
FrameBufferUpdate* info = GetFrameBufferInfo(thread_id, screen_id);
|
FrameBufferUpdate* info = GetFrameBufferInfo(thread_id, screen_id);
|
||||||
if (info->is_dirty) {
|
if (info->is_dirty) {
|
||||||
|
|
Loading…
Reference in a new issue