mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00:00
DiscIO: Augment the filemon to not slow down ISO properties for GC games
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4214 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
f8e80a317e
commit
21e0bad21e
1 changed files with 4 additions and 2 deletions
|
@ -30,6 +30,7 @@
|
||||||
#include "IniFile.h"
|
#include "IniFile.h"
|
||||||
#include "LogManager.h"
|
#include "LogManager.h"
|
||||||
|
|
||||||
|
#include "../../Core/Src/Core.h"
|
||||||
#include "../../Core/Src/ConfigManager.h"
|
#include "../../Core/Src/ConfigManager.h"
|
||||||
#include "FileSystemGCWii.h"
|
#include "FileSystemGCWii.h"
|
||||||
#include "VolumeCreator.h"
|
#include "VolumeCreator.h"
|
||||||
|
@ -114,10 +115,11 @@ void CheckFile(std::string File, int Size)
|
||||||
|
|
||||||
// -----------
|
// -----------
|
||||||
// Find the GC filename
|
// Find the GC filename
|
||||||
|
|
||||||
void FindFilename(u64 offset)
|
void FindFilename(u64 offset)
|
||||||
{
|
{
|
||||||
// Don't do anything if the log is unselected
|
// 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(LogTypes::FILEMON)) return;
|
if (!LogManager::GetInstance()->isEnable(LogTypes::FILEMON)) return;
|
||||||
if (!FileAccess) return;
|
if (!FileAccess) return;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue