mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 16:49:58 -06:00
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:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user