bug in GX_SetTexCopyDst (libogc)

Post Reply
Avatar
Posts: 2
Joined: Mon Sep 05, 2011 10:33 pm

bug in GX_SetTexCopyDst (libogc)

Post by Avatar » Mon Sep 05, 2011 10:47 pm

Only using the following pair of code lines produces the desired result when copying a texture from EBF to main memory:

Code: Select all

GX_SetTexCopySrc(0, 0, w, h);
GX_SetTexCopyDst(w*2, h*2, GX_TF_IA8, FALSE) // <- factors of 2
Shouldn't it be more like

Code: Select all

GX_SetTexCopySrc(0, 0, w, h);
GX_SetTexCopyDst(w, h, GX_TF_IA8, FALSE)
?

Using the second seemingly correct variant creates untouched bytes flickering around on the screen on actual hardware. The dolphin emulator seems to not care and produces correct results in both cases.

Is this sufficient information? I'll be happy to provide more if need be.

Avatar
Posts: 2
Joined: Mon Sep 05, 2011 10:33 pm

Re: bug in GX_SetTexCopyDst (libogc)

Post by Avatar » Mon Sep 19, 2011 9:57 pm

This issue from the sourceforge patches tracker seems to be related, if not the exact same problem:

[libogc] Fix copies to texture targetting GX_TF_IA8 format - ID: 3411308
http://sourceforge.net/tracker/?func=de ... tid=668553

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests