Some clean ups and defines

This commit is contained in:
Francisco Javier Trujillo Mata
2025-05-08 17:50:05 +02:00
parent f2b1155689
commit 55714928f0
17 changed files with 104 additions and 73 deletions

View File

@@ -10,11 +10,11 @@
void sceGuDepthBuffer(void *zbp, int zbw)
{
sendCommandi(Z_BUF_PTR, ((unsigned int)zbp));
sendCommandi(Z_BUF_WIDTH, ((((unsigned int)zbp) & 0xff000000) >> 8) | zbw);
gu_draw_buffer.depth_buffer = zbp;
if (!gu_draw_buffer.depth_width || (gu_draw_buffer.depth_width != zbw))
gu_draw_buffer.depth_width = zbw;
sendCommandi(Z_BUF_PTR, ((unsigned int)zbp));
sendCommandi(Z_BUF_WIDTH, ((((unsigned int)zbp) & 0xff000000) >> 8) | zbw);
}