From 1e2902202bb780927720c7b66d1f5589936d91b0 Mon Sep 17 00:00:00 2001 From: jakcron Date: Sun, 14 Nov 2021 07:14:58 +0800 Subject: [PATCH] Standardise formatting of RomFs and PartitionFs names. --- src/AssetProcess.cpp | 2 +- src/GameCardProcess.cpp | 2 +- src/PfsProcess.cpp | 2 +- src/RomfsProcess.cpp | 2 +- src/Settings.cpp | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/AssetProcess.cpp b/src/AssetProcess.cpp index fc6073f..6f52bde 100644 --- a/src/AssetProcess.cpp +++ b/src/AssetProcess.cpp @@ -133,7 +133,7 @@ void nstool::AssetProcess::displayHeader() fmt::print(" NACP:\n"); fmt::print(" Offset: 0x{:x}\n", mHdr.getNacpInfo().offset); fmt::print(" Size: 0x{:x}\n", mHdr.getNacpInfo().size); - fmt::print(" RomFS:\n"); + fmt::print(" RomFs:\n"); fmt::print(" Offset: 0x{:x}\n", mHdr.getRomfsInfo().offset); fmt::print(" Size: 0x{:x}\n", mHdr.getRomfsInfo().size); } diff --git a/src/GameCardProcess.cpp b/src/GameCardProcess.cpp index 739dd2d..929f720 100644 --- a/src/GameCardProcess.cpp +++ b/src/GameCardProcess.cpp @@ -271,7 +271,7 @@ void nstool::GameCardProcess::processRootPfs() FsProcess fs_proc; fs_proc.setInputFileSystem(gc_vfs); - fs_proc.setFsFormatName("PartitionFS"); + fs_proc.setFsFormatName("PartitionFs"); fs_proc.setFsProperties({ fmt::format("Type: Nested HFS0"), fmt::format("DirNum: {:d}", gc_vfs_meta.dir_entries.empty() ? 0 : gc_vfs_meta.dir_entries.size() - 1), // -1 to not include root directory diff --git a/src/PfsProcess.cpp b/src/PfsProcess.cpp index 6099951..c7be0ac 100644 --- a/src/PfsProcess.cpp +++ b/src/PfsProcess.cpp @@ -17,7 +17,7 @@ nstool::PfsProcess::PfsProcess() : mFileSystem(), mFsProcess() { - mFsProcess.setFsFormatName("PartitionFS"); + mFsProcess.setFsFormatName("PartitionFs"); } void nstool::PfsProcess::process() diff --git a/src/RomfsProcess.cpp b/src/RomfsProcess.cpp index 1c5bfe1..6fb3d7b 100644 --- a/src/RomfsProcess.cpp +++ b/src/RomfsProcess.cpp @@ -15,7 +15,7 @@ nstool::RomfsProcess::RomfsProcess() : mFileSystem(), mFsProcess() { - mFsProcess.setFsFormatName("RomFS"); + mFsProcess.setFsFormatName("RomFs"); } void nstool::RomfsProcess::process() diff --git a/src/Settings.cpp b/src/Settings.cpp index d0386c7..82487c6 100644 --- a/src/Settings.cpp +++ b/src/Settings.cpp @@ -750,8 +750,8 @@ void nstool::SettingsInitializer::usage_text() const fmt::print(" --kipdir Extract embedded Initial Programs to directory.\n"); fmt::print("\n ASET (Homebrew Asset Blob)\n"); fmt::print(" {:s} [--fstree] [-x [] ] [--icon --nacp ] \n", BIN_NAME); - fmt::print(" --fstree Print RomFS filesystem tree.\n"); - fmt::print(" -x, --extract Extract a file or directory from RomFS to local filesystem.\n"); + fmt::print(" --fstree Print RomFs filesystem tree.\n"); + fmt::print(" -x, --extract Extract a file or directory from RomFs to local filesystem.\n"); fmt::print(" --icon Extract icon partition to file.\n"); fmt::print(" --nacp Extract NACP partition to file.\n"); }