mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
Revert back to LogTypes. Fixes issue 3668.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6580 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -98,7 +98,7 @@ void ReadGC(std::string FileName)
|
||||
void CheckFile(std::string File, u64 Size)
|
||||
{
|
||||
// Don't do anything if the log is unselected
|
||||
if (!LogManager::GetInstance()->isEnable(FILEMON)) return;
|
||||
if (!LogManager::GetInstance()->isEnable(LogTypes::FILEMON)) return;
|
||||
// Do nothing if we found the same file again
|
||||
if (CurrentFile == File) return;
|
||||
|
||||
@ -124,7 +124,7 @@ void FindFilename(u64 offset)
|
||||
// Don't do anything if a game is not running
|
||||
if (Core::GetState() != Core::CORE_RUN) return;
|
||||
// Or if the log is unselected
|
||||
if (!LogManager::GetInstance()->isEnable(FILEMON)) return;
|
||||
if (!LogManager::GetInstance()->isEnable(LogTypes::FILEMON)) return;
|
||||
if (!FileAccess) return;
|
||||
|
||||
if (!pFileSystem || ISOFile != SConfig::GetInstance().m_LastFilename)
|
||||
|
Reference in New Issue
Block a user