summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-03-12 04:59:48 +0100
committerLioncash <mathew1800@gmail.com>2016-03-12 04:59:48 +0100
commitfba547b924c5a6dcf927e5a0ce2502012d05b72e (patch)
tree8bc720401b266a88137cd4352c089f6e6e61f05b /src/core
parentMerge pull request #1476 from lioncash/emit (diff)
downloadyuzu-fba547b924c5a6dcf927e5a0ce2502012d05b72e.tar
yuzu-fba547b924c5a6dcf927e5a0ce2502012d05b72e.tar.gz
yuzu-fba547b924c5a6dcf927e5a0ce2502012d05b72e.tar.bz2
yuzu-fba547b924c5a6dcf927e5a0ce2502012d05b72e.tar.lz
yuzu-fba547b924c5a6dcf927e5a0ce2502012d05b72e.tar.xz
yuzu-fba547b924c5a6dcf927e5a0ce2502012d05b72e.tar.zst
yuzu-fba547b924c5a6dcf927e5a0ce2502012d05b72e.zip
Diffstat (limited to 'src/core')
-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 3d705821d..2ace2cade 100644
--- a/src/core/hle/service/gsp_gpu.cpp
+++ b/src/core/hle/service/gsp_gpu.cpp
@@ -320,7 +320,7 @@ static void RegisterInterruptRelayQueue(Service::Interface* self) {
* @todo This probably does not belong in the GSP module, instead move to video_core
*/
void SignalInterrupt(InterruptId interrupt_id) {
- if (0 == g_interrupt_event) {
+ if (nullptr == g_interrupt_event) {
LOG_WARNING(Service_GSP, "cannot synchronize until GSP event has been created!");
return;
}