Don't log when File::Exist fails - that's just obnoxious. fix a const.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2692 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2009-03-20 17:22:55 +00:00
parent 0489ccd420
commit f126378de6
2 changed files with 1 additions and 7 deletions

View File

@ -72,12 +72,6 @@ bool Exists(const char *filename)
char *copy = StripTailDirSlashes(strdup(filename)); char *copy = StripTailDirSlashes(strdup(filename));
int result = stat(copy, &file_info); int result = stat(copy, &file_info);
if (result < 0)
{
WARN_LOG(COMMON, "Exist: stat failed on %s: %s", filename,
GetLastErrorMsg());
}
free(copy); free(copy);
return (result == 0); return (result == 0);

View File

@ -306,7 +306,7 @@ void WriteRGB5X5Encoder(char* p, bool g6Bit)
{ {
s32 gBits; s32 gBits;
float rShift; float rShift;
char* msbString; const char* msbString;
if(g6Bit) if(g6Bit)
{ {
gBits = 6; gBits = 6;