diff options
| author | death2droid <death2droid@gmail.com> | 2009-09-06 00:11:16 +0000 |
|---|---|---|
| committer | death2droid <death2droid@gmail.com> | 2009-09-06 00:11:16 +0000 |
| commit | eb9f6cd7a120498cb267d003fd87b2534c2d0ae9 (patch) | |
| tree | 1f274e8143b18b1650340fe21c229122d0f39ecb /Source/Core/DiscIO/Src/FileMonitor.cpp | |
| parent | e04c176bba0ed4d0584d558754f4b32d0ca3cbed (diff) | |
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
Diffstat (limited to 'Source/Core/DiscIO/Src/FileMonitor.cpp')
| -rw-r--r-- | Source/Core/DiscIO/Src/FileMonitor.cpp | 34 |
1 files changed, 12 insertions, 22 deletions
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 <iostream>
#include <vector>
@@ -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<const DiscIO::SFileInfo *> 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
|
