diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-03-03 10:01:00 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-03-03 10:01:00 -0500 |
| commit | e96569ff0cb7fa10d2c727dc3141710243a9c94e (patch) | |
| tree | 702acceb0b222f276308299f8746d813256654be /Source/Core/DiscIO/FileMonitor.cpp | |
| parent | cc5a2f341192c58e66f4cedb67c7b4f961386ae2 (diff) | |
| parent | 96c4b332f667054630349b70095ebaaa358e4065 (diff) | |
Merge pull request #2165 from JosJuice/filemonitor-log-level
FileMonitor: Check log level in addition to FileMonitor checkbox
Diffstat (limited to 'Source/Core/DiscIO/FileMonitor.cpp')
| -rw-r--r-- | Source/Core/DiscIO/FileMonitor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/FileMonitor.cpp b/Source/Core/DiscIO/FileMonitor.cpp index e93855c4ee..48ab314c5f 100644 --- a/Source/Core/DiscIO/FileMonitor.cpp +++ b/Source/Core/DiscIO/FileMonitor.cpp @@ -96,7 +96,7 @@ void ReadFileSystem(const std::string& filename) void CheckFile(const std::string& file, u64 size) { // Don't do anything if the log is unselected - if (!LogManager::GetInstance()->IsEnabled(LogTypes::FILEMON)) + if (!LogManager::GetInstance()->IsEnabled(LogTypes::FILEMON, LogTypes::LWARNING)) return; // Do nothing if we found the same file again if (CurrentFile == file) @@ -128,7 +128,7 @@ void FindFilename(u64 offset) return; // Or if the log is unselected - if (!LogManager::GetInstance()->IsEnabled(LogTypes::FILEMON)) + if (!LogManager::GetInstance()->IsEnabled(LogTypes::FILEMON, LogTypes::LWARNING)) return; // Or if we don't have file access |
