diff options
author | bunnei <ericbunnie@gmail.com> | 2014-06-19 23:46:05 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-06-25 01:30:06 +0200 |
commit | 62b444cd17c17e6f8009d87609b620bcb51b43bd (patch) | |
tree | c99a07441b97232f8f90f9ec06a0291a1ce5c396 /src/core/loader/loader.cpp | |
parent | NCCH: Added RomFS loading. (diff) | |
download | yuzu-62b444cd17c17e6f8009d87609b620bcb51b43bd.tar yuzu-62b444cd17c17e6f8009d87609b620bcb51b43bd.tar.gz yuzu-62b444cd17c17e6f8009d87609b620bcb51b43bd.tar.bz2 yuzu-62b444cd17c17e6f8009d87609b620bcb51b43bd.tar.lz yuzu-62b444cd17c17e6f8009d87609b620bcb51b43bd.tar.xz yuzu-62b444cd17c17e6f8009d87609b620bcb51b43bd.tar.zst yuzu-62b444cd17c17e6f8009d87609b620bcb51b43bd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/loader/loader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/loader/loader.cpp b/src/core/loader/loader.cpp index dd0863ff3..96cb81de0 100644 --- a/src/core/loader/loader.cpp +++ b/src/core/loader/loader.cpp @@ -18,7 +18,7 @@ namespace Loader { * @todo (ShizZy) this function sucks... make it actually check file contents etc. * @return FileType of file */ -const FileType IdentifyFile(const std::string &filename) { +FileType IdentifyFile(const std::string &filename) { if (filename.size() == 0) { ERROR_LOG(LOADER, "invalid filename %s", filename.c_str()); return FileType::Error; @@ -45,7 +45,7 @@ const FileType IdentifyFile(const std::string &filename) { * @param filename String filename of bootable file * @return ResultStatus result of function */ -const ResultStatus LoadFile(std::string& filename) { +ResultStatus LoadFile(const std::string& filename) { INFO_LOG(LOADER, "Loading file %s...", filename.c_str()); switch (IdentifyFile(filename)) { |