DX:Change the DirectX plugins texture dumping format back to PNG

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4914 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
death2droid 2010-01-21 10:23:13 +00:00
parent 98583da7ba
commit cb1038dd99
1 changed files with 2 additions and 2 deletions

View File

@ -453,10 +453,10 @@ TextureCache::TCacheEntry *TextureCache::Load(int stage, u32 address, int width,
bCheckedDumpDir = true; bCheckedDumpDir = true;
} }
sprintf(szTemp, "%s/%s_%08x_%i.bmp", szDir, uniqueId, texHash, tex_format); sprintf(szTemp, "%s/%s_%08x_%i.png", szDir, uniqueId, texHash, tex_format);
if (!File::Exists(szTemp)) if (!File::Exists(szTemp))
D3DXSaveTextureToFileA(szTemp,D3DXIFF_BMP,entry.texture,0); D3DXSaveTextureToFileA(szTemp,D3DXIFF_PNG,entry.texture,0);
} }
INCSTAT(stats.numTexturesCreated); INCSTAT(stats.numTexturesCreated);