diff options
author | bunnei <bunneidev@gmail.com> | 2021-03-20 07:03:57 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-03-21 22:45:02 +0100 |
commit | f2e14415674f8a8fb95975cef66201ee32b89c08 (patch) | |
tree | ff1c7b23e5db597a781b9a9f81621fe4234427c9 | |
parent | hle: kernel: KSystemControl: Update to reflect board-specific behavior. (diff) | |
download | yuzu-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.txt | 1 | ||||
-rw-r--r-- | src/core/hle/kernel/k_trace.h | 12 |
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 |