Skip to content

Commit

Permalink
Cheats: Author field should be exported
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Jan 15, 2025
1 parent 68d9971 commit 1952869
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/cheats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,8 @@ std::string Cheats::FormatCodeForFile(const CodeInfo& code)
fmt::memory_buffer buf;
auto appender = std::back_inserter(buf);
fmt::format_to(appender, "[{}]\n", code.name);
if (!code.author.empty())
fmt::format_to(appender, "Author = {}\n", code.author);
if (!code.description.empty())
fmt::format_to(appender, "Description = {}\n", code.description);
fmt::format_to(appender, "Type = {}\n", GetTypeName(code.type));
Expand Down

0 comments on commit 1952869

Please # to comment.