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
This commit is contained in:
death2droid
2009-09-06 00:11:16 +00:00
parent e04c176bba
commit eb9f6cd7a1
3 changed files with 51 additions and 54 deletions

View File

@ -16,9 +16,9 @@
// http://code.google.com/p/dolphin-emu/
/////////////////////////////////////////////////////////////////////////////////////////////////
// -----------
// Include
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
#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
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DiscIO::IVolume *OpenISO;
DiscIO::IFileSystem *pFileSystem = NULL;
std::vector<const DiscIO::SFileInfo *> GCFiles;
std::string ISOFile, CurrentFile;
bool FileAccess = true;
/////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////
// -----------
// Filtered files
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
bool ShowSound(std::string FileName)
{
std::string Ending;
@ -73,12 +69,11 @@ bool ShowSound(std::string FileName)
return false;
}
/////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////
// -----------
// Read the GC file system
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
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
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
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
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
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