summaryrefslogtreecommitdiffstats
path: root/src/core/loader/deconstructed_rom_directory.cpp
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2018-02-05 09:01:10 +0100
committerDavid Marcec <dmarcecguzman@gmail.com>2018-02-05 09:01:10 +0100
commitf9ba5a7e11883e208bc159652f64f765a56ed7e1 (patch)
treeac9c82156b69f9482c30c1e14ee9b4908ee9841e /src/core/loader/deconstructed_rom_directory.cpp
parentMerge pull request #161 from bunnei/service-improvements (diff)
downloadyuzu-f9ba5a7e11883e208bc159652f64f765a56ed7e1.tar
yuzu-f9ba5a7e11883e208bc159652f64f765a56ed7e1.tar.gz
yuzu-f9ba5a7e11883e208bc159652f64f765a56ed7e1.tar.bz2
yuzu-f9ba5a7e11883e208bc159652f64f765a56ed7e1.tar.lz
yuzu-f9ba5a7e11883e208bc159652f64f765a56ed7e1.tar.xz
yuzu-f9ba5a7e11883e208bc159652f64f765a56ed7e1.tar.zst
yuzu-f9ba5a7e11883e208bc159652f64f765a56ed7e1.zip
Diffstat (limited to 'src/core/loader/deconstructed_rom_directory.cpp')
-rw-r--r--src/core/loader/deconstructed_rom_directory.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/loader/deconstructed_rom_directory.cpp b/src/core/loader/deconstructed_rom_directory.cpp
index 37030683b..c4e003b74 100644
--- a/src/core/loader/deconstructed_rom_directory.cpp
+++ b/src/core/loader/deconstructed_rom_directory.cpp
@@ -29,7 +29,7 @@ static std::string FindRomFS(const std::string& directory) {
// Verify extension
const std::string extension = physical_name.substr(physical_name.find_last_of(".") + 1);
- if (Common::ToLower(extension) != "istorage") {
+ if (Common::ToLower(extension) != "romfs") {
return true;
}
@@ -38,7 +38,7 @@ static std::string FindRomFS(const std::string& directory) {
return false;
};
- // Search the specified directory recursively, looking for the first .istorage file, which will
+ // Search the specified directory recursively, looking for the first .romfs file, which will
// be used for the RomFS
FileUtil::ForeachDirectoryEntry(nullptr, directory, callback);
@@ -128,10 +128,10 @@ ResultStatus AppLoader_DeconstructedRomDirectory::Load(
Kernel::ResourceLimit::GetForCategory(Kernel::ResourceLimitCategory::APPLICATION);
process->Run(Memory::PROCESS_IMAGE_VADDR, 48, Kernel::DEFAULT_STACK_SIZE);
- // Find the RomFS by searching for a ".istorage" file in this directory
+ // Find the RomFS by searching for a ".romfs" file in this directory
filepath_romfs = FindRomFS(directory);
- // Register the RomFS if a ".istorage" file was found
+ // Register the RomFS if a ".romfs" file was found
if (!filepath_romfs.empty()) {
Service::FileSystem::RegisterFileSystem(std::make_unique<FileSys::RomFS_Factory>(*this),
Service::FileSystem::Type::RomFS);