diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/gsp_gpu.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/hle/service/gsp_gpu.cpp b/src/core/hle/service/gsp_gpu.cpp index 9fb4962d8..d254fdd2e 100644 --- a/src/core/hle/service/gsp_gpu.cpp +++ b/src/core/hle/service/gsp_gpu.cpp | |||
| @@ -376,7 +376,14 @@ void SignalInterrupt(InterruptId interrupt_id) { | |||
| 376 | if (!gpu_right_acquired) { | 376 | if (!gpu_right_acquired) { |
| 377 | return; | 377 | return; |
| 378 | } | 378 | } |
| 379 | 379 | if (nullptr == g_interrupt_event) { | |
| 380 | LOG_WARNING(Service_GSP, "cannot synchronize until GSP event has been created!"); | ||
| 381 | return; | ||
| 382 | } | ||
| 383 | if (nullptr == g_shared_memory) { | ||
| 384 | LOG_WARNING(Service_GSP, "cannot synchronize until GSP shared memory has been created!"); | ||
| 385 | return; | ||
| 386 | } | ||
| 380 | for (int thread_id = 0; thread_id < 0x4; ++thread_id) { | 387 | for (int thread_id = 0; thread_id < 0x4; ++thread_id) { |
| 381 | InterruptRelayQueue* interrupt_relay_queue = GetInterruptRelayQueue(thread_id); | 388 | InterruptRelayQueue* interrupt_relay_queue = GetInterruptRelayQueue(thread_id); |
| 382 | u8 next = interrupt_relay_queue->index; | 389 | u8 next = interrupt_relay_queue->index; |