summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/gsp_gpu.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-07-17 07:24:13 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-07-17 07:24:13 +0200
commitdc39d06950de246094be9643313970125e0c49ee (patch)
treee7f43ef1f2ae7b8fd029bdaf6c43c2b25f5620eb /src/core/hle/service/gsp_gpu.cpp
parentRemove webchat link from readme (diff)
downloadyuzu-dc39d06950de246094be9643313970125e0c49ee.tar
yuzu-dc39d06950de246094be9643313970125e0c49ee.tar.gz
yuzu-dc39d06950de246094be9643313970125e0c49ee.tar.bz2
yuzu-dc39d06950de246094be9643313970125e0c49ee.tar.lz
yuzu-dc39d06950de246094be9643313970125e0c49ee.tar.xz
yuzu-dc39d06950de246094be9643313970125e0c49ee.tar.zst
yuzu-dc39d06950de246094be9643313970125e0c49ee.zip
Diffstat (limited to 'src/core/hle/service/gsp_gpu.cpp')
-rw-r--r--src/core/hle/service/gsp_gpu.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/hle/service/gsp_gpu.cpp b/src/core/hle/service/gsp_gpu.cpp
index 3910d0227..8b40ba376 100644
--- a/src/core/hle/service/gsp_gpu.cpp
+++ b/src/core/hle/service/gsp_gpu.cpp
@@ -584,7 +584,7 @@ const Interface::FunctionInfo FunctionTable[] = {
Interface::Interface() {
Register(FunctionTable);
- g_interrupt_event = 0;
+ g_interrupt_event = nullptr;
using Kernel::MemoryPermission;
g_shared_memory = Kernel::SharedMemory::Create(0x1000, MemoryPermission::ReadWrite,
@@ -593,4 +593,9 @@ Interface::Interface() {
g_thread_id = 0;
}
+Interface::~Interface() {
+ g_interrupt_event = nullptr;
+ g_shared_memory = nullptr;
+}
+
} // namespace