mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
GL plugin now dumps textures in correct format, you can enable texture dumping in the settings but you have to set the directory in the ini file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@130 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
494c1f3187
commit
dd793a11ef
4 changed files with 14 additions and 15 deletions
|
@ -276,7 +276,7 @@ TextureMngr::TCacheEntry* TextureMngr::Load(int texstage, u32 address, int width
|
|||
if (g_Config.bDumpTextures) { // dump texture to file
|
||||
static int counter = 0;
|
||||
char szTemp[MAX_PATH];
|
||||
sprintf(szTemp, "%s\\txt_%04i_%i.png", g_Config.texDumpPath, counter++, format);
|
||||
sprintf(szTemp, "%s/txt_%04i_%i.tga", g_Config.texDumpPath, counter++, format);
|
||||
|
||||
SaveTexture(szTemp,target, entry.texture, width, height);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue