1.] GL Textures dump to User/Dumps/Textures instead of picking a dir 2.] Some code cleanup in OGL plugin 3.] Added new dump feature "Dump EFB Target", its a bit unstable and needs a fix.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2593 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
omegadox
2009-03-07 09:29:25 +00:00
parent 316c311b8a
commit 9e3db8d1b5
7 changed files with 79 additions and 66 deletions

View File

@ -398,18 +398,18 @@ void BPWritten(int addr, int changes, int newval)
{
if (g_Config.bCopyEFBToRAM)
{
TextureConverter::EncodeToRam(bpmem.copyTexDest<<5,
bpmem.zcontrol.pixel_format==PIXELFMT_Z24,
TextureConverter::EncodeToRam(bpmem.copyTexDest << 5,
bpmem.zcontrol.pixel_format == PIXELFMT_Z24,
PE_copy.intensity_fmt > 0,
(PE_copy.target_pixel_format/2) + ((PE_copy.target_pixel_format&1) * 8), // ??
PE_copy.half_scale>0, rc);
(PE_copy.target_pixel_format / 2) + ((PE_copy.target_pixel_format & 1) * 8), // ??
PE_copy.half_scale > 0, rc);
}
else
{
TextureMngr::CopyRenderTargetToTexture(bpmem.copyTexDest<<5,
bpmem.zcontrol.pixel_format==PIXELFMT_Z24,
TextureMngr::CopyRenderTargetToTexture(bpmem.copyTexDest << 5,
bpmem.zcontrol.pixel_format == PIXELFMT_Z24,
PE_copy.intensity_fmt > 0,
(PE_copy.target_pixel_format/2) + ((PE_copy.target_pixel_format & 1)*8), // ??
(PE_copy.target_pixel_format / 2) + ((PE_copy.target_pixel_format & 1) * 8), // ??
PE_copy.half_scale > 0, rc);
}
}