mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Merge pull request #2165 from JosJuice/filemonitor-log-level
FileMonitor: Check log level in addition to FileMonitor checkbox
This commit is contained in:
@ -96,7 +96,7 @@ void ReadFileSystem(const std::string& filename)
|
|||||||
void CheckFile(const std::string& file, u64 size)
|
void CheckFile(const std::string& file, u64 size)
|
||||||
{
|
{
|
||||||
// Don't do anything if the log is unselected
|
// Don't do anything if the log is unselected
|
||||||
if (!LogManager::GetInstance()->IsEnabled(LogTypes::FILEMON))
|
if (!LogManager::GetInstance()->IsEnabled(LogTypes::FILEMON, LogTypes::LWARNING))
|
||||||
return;
|
return;
|
||||||
// Do nothing if we found the same file again
|
// Do nothing if we found the same file again
|
||||||
if (CurrentFile == file)
|
if (CurrentFile == file)
|
||||||
@ -128,7 +128,7 @@ void FindFilename(u64 offset)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
// Or if the log is unselected
|
// Or if the log is unselected
|
||||||
if (!LogManager::GetInstance()->IsEnabled(LogTypes::FILEMON))
|
if (!LogManager::GetInstance()->IsEnabled(LogTypes::FILEMON, LogTypes::LWARNING))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Or if we don't have file access
|
// Or if we don't have file access
|
||||||
|
Reference in New Issue
Block a user