mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-07 20:15:32 +00:00
Cheats: Author field should be exported
This commit is contained in:
parent
68d9971171
commit
1952869cdc
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user