diff options
Diffstat (limited to 'src/core/tracer')
| -rw-r--r-- | src/core/tracer/citrace.h | 7 | ||||
| -rw-r--r-- | src/core/tracer/recorder.cpp | 3 | 
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 | 
