Skip to content

Commit

Permalink
Profiler/GPUViz: Fixes typo in instant TraceObject
Browse files Browse the repository at this point in the history
String parsing was adding a newline but then we failed to use it. I
don't think it caused any issues considering how infrequent instant
profiler objects are used.
  • Loading branch information
Sonicadvance1 committed Jan 27, 2025
1 parent bf1e319 commit 5a0db4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FEXCore/Source/Utils/Profiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ void TraceObject(std::string_view const Format, uint64_t Duration) {
void TraceObject(std::string_view const Format) {
if (TraceFD != -1) {
fextl::string Event = fextl::fmt::format("{}\n", Format);
write(TraceFD, Format.data(), Format.size());
write(TraceFD, Event.data(), Event.size());
}
}
} // namespace GPUVis
Expand Down

0 comments on commit 5a0db4d

Please sign in to comment.