diff options
Diffstat (limited to 'src/core/loader/loader.cpp')
| -rw-r--r-- | src/core/loader/loader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/loader/loader.cpp b/src/core/loader/loader.cpp index 174397b05..3883e1307 100644 --- a/src/core/loader/loader.cpp +++ b/src/core/loader/loader.cpp | |||
| @@ -23,7 +23,7 @@ namespace Loader { | |||
| 23 | */ | 23 | */ |
| 24 | FileType IdentifyFile(const std::string &filename) { | 24 | FileType IdentifyFile(const std::string &filename) { |
| 25 | if (filename.size() == 0) { | 25 | if (filename.size() == 0) { |
| 26 | ERROR_LOG(LOADER, "invalid filename %s", filename.c_str()); | 26 | LOG_ERROR(Loader, "invalid filename %s", filename.c_str()); |
| 27 | return FileType::Error; | 27 | return FileType::Error; |
| 28 | } | 28 | } |
| 29 | 29 | ||
| @@ -55,7 +55,7 @@ FileType IdentifyFile(const std::string &filename) { | |||
| 55 | * @return ResultStatus result of function | 55 | * @return ResultStatus result of function |
| 56 | */ | 56 | */ |
| 57 | ResultStatus LoadFile(const std::string& filename) { | 57 | ResultStatus LoadFile(const std::string& filename) { |
| 58 | INFO_LOG(LOADER, "Loading file %s...", filename.c_str()); | 58 | LOG_INFO(Loader, "Loading file %s...", filename.c_str()); |
| 59 | 59 | ||
| 60 | switch (IdentifyFile(filename)) { | 60 | switch (IdentifyFile(filename)) { |
| 61 | 61 | ||
| @@ -83,7 +83,7 @@ ResultStatus LoadFile(const std::string& filename) { | |||
| 83 | // Raw BIN file format... | 83 | // Raw BIN file format... |
| 84 | case FileType::BIN: | 84 | case FileType::BIN: |
| 85 | { | 85 | { |
| 86 | INFO_LOG(LOADER, "Loading BIN file %s...", filename.c_str()); | 86 | LOG_INFO(Loader, "Loading BIN file %s...", filename.c_str()); |
| 87 | 87 | ||
| 88 | FileUtil::IOFile file(filename, "rb"); | 88 | FileUtil::IOFile file(filename, "rb"); |
| 89 | 89 | ||