summaryrefslogtreecommitdiffstats
path: root/src/core/tracer
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2016-09-19 03:01:46 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2016-09-19 06:14:25 +0200
commit396a8d91a4423d9c793eeff0798d544613647511 (patch)
treee0203961233db1ffcbbca2e15154d71d142c5822 /src/core/tracer
parentTweak formatting settings (diff)
downloadyuzu-396a8d91a4423d9c793eeff0798d544613647511.tar
yuzu-396a8d91a4423d9c793eeff0798d544613647511.tar.gz
yuzu-396a8d91a4423d9c793eeff0798d544613647511.tar.bz2
yuzu-396a8d91a4423d9c793eeff0798d544613647511.tar.lz
yuzu-396a8d91a4423d9c793eeff0798d544613647511.tar.xz
yuzu-396a8d91a4423d9c793eeff0798d544613647511.tar.zst
yuzu-396a8d91a4423d9c793eeff0798d544613647511.zip
Diffstat (limited to 'src/core/tracer')
-rw-r--r--src/core/tracer/citrace.h7
-rw-r--r--src/core/tracer/recorder.cpp3
2 files changed, 7 insertions, 3 deletions
diff --git a/src/core/tracer/citrace.h b/src/core/tracer/citrace.h
index ac26e872b..215f86359 100644
--- a/src/core/tracer/citrace.h
+++ b/src/core/tracer/citrace.h
@@ -76,7 +76,12 @@ struct CTMemoryLoad {
struct CTRegisterWrite {
u32 physical_address;
- enum : u32 { SIZE_8 = 0xD1, SIZE_16 = 0xD2, SIZE_32 = 0xD3, SIZE_64 = 0xD4 } size;
+ enum : u32 {
+ SIZE_8 = 0xD1,
+ SIZE_16 = 0xD2,
+ SIZE_32 = 0xD3,
+ SIZE_64 = 0xD4,
+ } size;
// TODO: Make it clearer which bits of this member are used for sizes other than 32 bits
u64 value;
diff --git a/src/core/tracer/recorder.cpp b/src/core/tracer/recorder.cpp
index 8fd0018c4..11a289b2c 100644
--- a/src/core/tracer/recorder.cpp
+++ b/src/core/tracer/recorder.cpp
@@ -12,8 +12,7 @@
namespace CiTrace {
-Recorder::Recorder(const InitialState& initial_state) : initial_state(initial_state) {
-}
+Recorder::Recorder(const InitialState& initial_state) : initial_state(initial_state) {}
void Recorder::Finish(const std::string& filename) {
// Setup CiTrace header