[Glide64] Code cleanup of ucode06.h

This commit is contained in:
zilmar 2016-01-20 21:01:42 +11:00
parent 6bf2738632
commit 5a4ea8ad1f
1 changed files with 1450 additions and 1455 deletions

View File

@ -244,7 +244,6 @@ void DrawHiresDepthImage (const DRAWIMAGE & d)
grDepthMask(FXTRUE);
}
void DrawDepthImage(const DRAWIMAGE & d)
{
if (!fullscreen || !fb_depth_render_enabled)
@ -411,7 +410,6 @@ void DrawImage (DRAWIMAGE & d)
int min_256_v = ul_v >> y_shift;
//int max_256_v = (lr_v-1) >> y_shift;
// SetTextureImage ()
rdp.timg.format = d.imageFmt; // RGBA
rdp.timg.size = d.imageSiz; // 16-bit
@ -701,12 +699,10 @@ void DrawHiresImage(DRAWIMAGE & d, int screensize = FALSE)
else
rdp.tri_n += 2;
rdp.tbuff_tex = tbuff_tex;
}
//****************************************************************
struct MAT2D {
float A, B, C, D;
float X, Y;
@ -1706,7 +1702,6 @@ void uc6_sprite2d ()
{
grFogMode(GR_FOG_WITH_TABLE_ON_FOGCOORD_EXT);
}
}
a = rdp.pc[rdp.pc_i] & BMASK;
cmd0 = ((uint32_t*)gfx.RDRAM)[a >> 2]; //check next command