mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Correct texrect dsdx calculation in COPY mode.
Partially fixes issue with the energy bar in F-Zero multiplayer, #1849
This commit is contained in:
parent
9fb63e0460
commit
d4b770b2c1
|
@ -791,7 +791,7 @@ void gDPSetKeyGB(u32 cG, u32 sG, u32 wG, u32 cB, u32 sB, u32 wB )
|
|||
void gDPTextureRectangle(f32 ulx, f32 uly, f32 lrx, f32 lry, s32 tile, s16 s, s16 t, f32 dsdx, f32 dtdy , bool flip)
|
||||
{
|
||||
if (gDP.otherMode.cycleType == G_CYC_COPY) {
|
||||
dsdx = 1.0f;
|
||||
dsdx /= 4.0f;
|
||||
lrx += 1.0f;
|
||||
lry += 1.0f;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user