summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-03-20 07:03:57 +0100
committerbunnei <bunneidev@gmail.com>2021-03-21 22:45:02 +0100
commitf2e14415674f8a8fb95975cef66201ee32b89c08 (patch)
treeff1c7b23e5db597a781b9a9f81621fe4234427c9 /src
parenthle: kernel: KSystemControl: Update to reflect board-specific behavior. (diff)
downloadyuzu-f2e14415674f8a8fb95975cef66201ee32b89c08.tar
yuzu-f2e14415674f8a8fb95975cef66201ee32b89c08.tar.gz
yuzu-f2e14415674f8a8fb95975cef66201ee32b89c08.tar.bz2
yuzu-f2e14415674f8a8fb95975cef66201ee32b89c08.tar.lz
yuzu-f2e14415674f8a8fb95975cef66201ee32b89c08.tar.xz
yuzu-f2e14415674f8a8fb95975cef66201ee32b89c08.tar.zst
yuzu-f2e14415674f8a8fb95975cef66201ee32b89c08.zip
Diffstat (limited to '')
-rw-r--r--src/core/CMakeLists.txt1
-rw-r--r--src/core/hle/kernel/k_trace.h12
2 files changed, 13 insertions, 0 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 6cf7ff81f..fdd084537 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -204,6 +204,7 @@ add_library(core STATIC
hle/kernel/k_thread.cpp
hle/kernel/k_thread.h
hle/kernel/k_thread_queue.h
+ hle/kernel/k_trace.h
hle/kernel/k_writable_event.cpp
hle/kernel/k_writable_event.h
hle/kernel/kernel.cpp
diff --git a/src/core/hle/kernel/k_trace.h b/src/core/hle/kernel/k_trace.h
new file mode 100644
index 000000000..91ebf9ab2
--- /dev/null
+++ b/src/core/hle/kernel/k_trace.h
@@ -0,0 +1,12 @@
+// Copyright 2021 yuzu Emulator Project
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#pragma once
+
+namespace Kernel {
+
+constexpr bool IsKTraceEnabled = false;
+constexpr std::size_t KTraceBufferSize = IsKTraceEnabled ? 16 * 1024 * 1024 : 0;
+
+} // namespace Kernel