Skip to content

Commit

Permalink
Correctly refer to InternalName
Browse files Browse the repository at this point in the history
  • Loading branch information
qixils committed Oct 11, 2023
1 parent 3dbff26 commit 8a83963
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/DolphinTool/HeaderCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ int HeaderCommand(const std::vector<std::string>& args)
// Game data
if (volume)
{
json["name"] = picojson::value(volume->GetInternalName());
json["internal_name"] = picojson::value(volume->GetInternalName());

if (const std::optional<u64> revision = volume->GetRevision())
json["revision"] = picojson::value((double)revision.value());
Expand Down Expand Up @@ -151,7 +151,7 @@ int HeaderCommand(const std::vector<std::string>& args)
// Game data
if (volume)
{
fmt::print(std::cout, "Name: {}\n", volume->GetInternalName());
fmt::print(std::cout, "Internal Name: {}\n", volume->GetInternalName());

if (const std::optional<u64> revision = volume->GetRevision())
fmt::print(std::cout, "Revision: {}\n", revision.value());
Expand Down

0 comments on commit 8a83963

Please sign in to comment.