summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2016-03-12 10:15:02 -0500
committerGravatar bunnei2016-03-12 10:15:02 -0500
commitafb5140b53aa839442b751e60d8729576a63bce0 (patch)
tree248086bef60649382c2bef53843ebecd19469515 /src
parentMerge pull request #1499 from lioncash/services (diff)
parentgsp_gpu: Change 0 literal to nullptr (diff)
downloadyuzu-afb5140b53aa839442b751e60d8729576a63bce0.tar.gz
yuzu-afb5140b53aa839442b751e60d8729576a63bce0.tar.xz
yuzu-afb5140b53aa839442b751e60d8729576a63bce0.zip
Merge pull request #1500 from lioncash/nullptr
gsp_gpu: Change 0 literal to nullptr
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 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) {
320 * @todo This probably does not belong in the GSP module, instead move to video_core 320 * @todo This probably does not belong in the GSP module, instead move to video_core
321 */ 321 */
322void SignalInterrupt(InterruptId interrupt_id) { 322void SignalInterrupt(InterruptId interrupt_id) {
323 if (0 == g_interrupt_event) { 323 if (nullptr == g_interrupt_event) {
324 LOG_WARNING(Service_GSP, "cannot synchronize until GSP event has been created!"); 324 LOG_WARNING(Service_GSP, "cannot synchronize until GSP event has been created!");
325 return; 325 return;
326 } 326 }