summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorhrydgard <hrydgard@gmail.com>2010-01-21 19:31:48 +0000
committerhrydgard <hrydgard@gmail.com>2010-01-21 19:31:48 +0000
commit9893122a5879c330bfa5d2724ff80d21b30a7dab (patch)
treeff807848596df3d1fbc07fb969299481e1516feb /Source/Core/VideoCommon
parent49d918026685218e4265f6841ea611952585664c (diff)
Attempt at fixing the colors of loaded "hi-res" replacement textures in D3D. Fixes issue 2074. Delete some obsolete commented-out code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4916 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/Src/HiresTextures.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Src/HiresTextures.cpp b/Source/Core/VideoCommon/Src/HiresTextures.cpp
index 8fb819a6bc..0d92a14c2f 100644
--- a/Source/Core/VideoCommon/Src/HiresTextures.cpp
+++ b/Source/Core/VideoCommon/Src/HiresTextures.cpp
@@ -101,7 +101,7 @@ PC_TexFormat GetHiresTex(const char *fileName, int *pWidth, int *pHeight, int te
{
std::string key(fileName);
- if(textureMap.find(key) == textureMap.end())
+ if (textureMap.find(key) == textureMap.end())
return PC_TEX_FMT_NONE;
int width;
@@ -142,7 +142,7 @@ PC_TexFormat GetHiresTex(const char *fileName, int *pWidth, int *pHeight, int te
returnTex = PC_TEX_FMT_IA8;
break;
default:
- memcpy(data, temp, width*height*4);
+ memcpy(data, temp, width * height * 4);
returnTex = PC_TEX_FMT_RGBA32;
break;
}