[GPU/Kernel] Fix space-prefixed hexadecimal number printing
This commit is contained in:
@@ -402,7 +402,7 @@ uint32_t CommandProcessor::ExecutePrimaryBuffer(uint32_t read_index,
|
||||
uint32_t title_id = kernel_state_->GetExecutableModule()
|
||||
? kernel_state_->GetExecutableModule()->title_id()
|
||||
: 0;
|
||||
auto file_name = fmt::format("{:8X}_stream.xtr", title_id);
|
||||
auto file_name = fmt::format("{:08X}_stream.xtr", title_id);
|
||||
auto path = trace_stream_path_ / file_name;
|
||||
trace_writer_.Open(path, title_id);
|
||||
InitializeTrace();
|
||||
@@ -729,7 +729,7 @@ bool CommandProcessor::ExecutePacketType3(RingBuffer* reader, uint32_t packet) {
|
||||
} else if (trace_state_ == TraceState::kSingleFrame) {
|
||||
// New trace request - we only start tracing at the beginning of a frame.
|
||||
uint32_t title_id = kernel_state_->GetExecutableModule()->title_id();
|
||||
auto file_name = fmt::format("{:8X}_{}.xtr", title_id, counter_ - 1);
|
||||
auto file_name = fmt::format("{:08X}_{}.xtr", title_id, counter_ - 1);
|
||||
auto path = trace_frame_path_ / file_name;
|
||||
trace_writer_.Open(path, title_id);
|
||||
InitializeTrace();
|
||||
|
||||
Reference in New Issue
Block a user