From eb9f6cd7a120498cb267d003fd87b2534c2d0ae9 Mon Sep 17 00:00:00 2001 From: death2droid Date: Sun, 6 Sep 2009 00:11:16 +0000 Subject: NETPLAY:Changed chat sending so it will only send a message if the message size is greater then 0. OGL:Added a tool tip for the wide screen hack tho its probably wrong OTHER: Just some clean up of the ///////////////////////////////////'s git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4206 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DiscIO/Src/FileMonitor.cpp | 34 ++++++++++++---------------------- 1 file changed, 12 insertions(+), 22 deletions(-) (limited to 'Source/Core/DiscIO/Src/FileMonitor.cpp') diff --git a/Source/Core/DiscIO/Src/FileMonitor.cpp b/Source/Core/DiscIO/Src/FileMonitor.cpp index aae91fbd52..9948021cbd 100644 --- a/Source/Core/DiscIO/Src/FileMonitor.cpp +++ b/Source/Core/DiscIO/Src/FileMonitor.cpp @@ -16,9 +16,9 @@ // http://code.google.com/p/dolphin-emu/ -///////////////////////////////////////////////////////////////////////////////////////////////// +// ----------- // Include -// ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ + #include "stdafx.h" #include #include @@ -33,26 +33,22 @@ #include "../../Core/Src/ConfigManager.h" #include "FileSystemGCWii.h" #include "VolumeCreator.h" -///////////////////////////////////////////////////////////////////////////////////////////////// - namespace FileMon { -///////////////////////////////////////////////////////////////////////////////////////////////// +// ----------- // Declarations and definitions -// ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ + DiscIO::IVolume *OpenISO; DiscIO::IFileSystem *pFileSystem = NULL; std::vector GCFiles; std::string ISOFile, CurrentFile; bool FileAccess = true; -///////////////////////////////////////////////////////////////////////////////////////////////// - -///////////////////////////////////////////////////////////////////////////////////////////////// +// ----------- // Filtered files -// ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ + bool ShowSound(std::string FileName) { std::string Ending; @@ -73,12 +69,11 @@ bool ShowSound(std::string FileName) return false; } -///////////////////////////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////////////////////////// +// ----------- // Read the GC file system -// ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ + void ReadGC(std::string FileName) { GCFiles.clear(); @@ -91,12 +86,10 @@ void ReadGC(std::string FileName) } FileAccess = true; } -///////////////////////////////////////////////////////////////////////////////////////////////// - -///////////////////////////////////////////////////////////////////////////////////////////////// +// ----------- // Check if we should play this file -// ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ + void CheckFile(std::string File, int Size) { // Don't do anything if the log is unselected @@ -118,12 +111,10 @@ void CheckFile(std::string File, int Size) // Update the current file CurrentFile = File; } -///////////////////////////////////////////////////////////////////////////////////////////////// - -///////////////////////////////////////////////////////////////////////////////////////////////// +// ----------- // Find the GC filename -// ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ + void FindFilename(u64 offset) { // Don't do anything if the log is unselected @@ -149,7 +140,6 @@ void FindFilename(u64 offset) CheckFile(File, Size); } -///////////////////////////////////////////////////////////////////////////////////////////////// } // FileMon -- cgit v1.2.3