aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/gsp_gpu.cpp
diff options
context:
space:
mode:
authorTony Wasserka <neobrainx@gmail.com>2015-07-13 21:39:58 +0200
committerTony Wasserka <neobrainx@gmail.com>2015-07-13 21:39:58 +0200
commit884b681ccaf3cb4057ca0ed0102e446736bb535f (patch)
tree9359e9b88f0147879c672638d8c02960d2179d3a /src/core/hle/service/gsp_gpu.cpp
parentc4e11519afb8c51b591b88f6bfa531b04d15d588 (diff)
parent29abb11e8fbb6a78edf84496979ef946bf4e45a7 (diff)
Merge pull request #702 from neobrain/citrace
Add CiTrace recording support.
Diffstat (limited to 'src/core/hle/service/gsp_gpu.cpp')
-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 f175085e8..3910d0227 100644
--- a/src/core/hle/service/gsp_gpu.cpp
+++ b/src/core/hle/service/gsp_gpu.cpp
@@ -349,7 +349,7 @@ void SignalInterrupt(InterruptId interrupt_id) {
/// Executes the next GSP command
static void ExecuteCommand(const Command& command, u32 thread_id) {
// Utility function to convert register ID to address
- auto WriteGPURegister = [](u32 id, u32 data) {
+ static auto WriteGPURegister = [](u32 id, u32 data) {
GPU::Write<u32>(0x1EF00000 + 4 * id, data);
};