From ab509465d53716e671156c57f08e2b7cfb68e5f4 Mon Sep 17 00:00:00 2001 From: skidau Date: Wed, 20 Jan 2010 13:06:02 +0000 Subject: [PATCH] The D3D plugin was dumping BMP textures with an incorrect png extension. Fixes issue 2074. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4906 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_VideoDX9/Src/TextureCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Plugins/Plugin_VideoDX9/Src/TextureCache.cpp b/Source/Plugins/Plugin_VideoDX9/Src/TextureCache.cpp index 1d6d05e80c..29fdde6d8a 100644 --- a/Source/Plugins/Plugin_VideoDX9/Src/TextureCache.cpp +++ b/Source/Plugins/Plugin_VideoDX9/Src/TextureCache.cpp @@ -453,7 +453,7 @@ TextureCache::TCacheEntry *TextureCache::Load(int stage, u32 address, int width, bCheckedDumpDir = true; } - sprintf(szTemp, "%s/%s_%08x_%i.png", szDir, uniqueId, texHash, tex_format); + sprintf(szTemp, "%s/%s_%08x_%i.bmp", szDir, uniqueId, texHash, tex_format); if (!File::Exists(szTemp)) D3DXSaveTextureToFileA(szTemp,D3DXIFF_BMP,entry.texture,0);