hle: kernel: Add k_trace module.
This commit is contained in:
parent
5762517728
commit
f2e1441567
|
@ -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
|
||||
|
|
12
src/core/hle/kernel/k_trace.h
Normal file
12
src/core/hle/kernel/k_trace.h
Normal file
|
@ -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
|
Loading…
Reference in a new issue