Whoops
This commit is contained in:
parent
009afa6ef5
commit
2863ed36c1
@ -36,7 +36,7 @@ void C3Di_IBOBind(C3D_IBO* ibo)
|
||||
|
||||
u32 pa = osConvertVirtToPhys((u32)ibo->data);
|
||||
u32 offset = (pa - ctx->vboPos) &~ BIT(31);
|
||||
GPUCMD_AddSingleParam(0x000F0227, offset | (ibo->format << 31));
|
||||
GPUCMD_AddWrite(GPUREG_INDEXBUFFER_CONFIG, offset | (ibo->format << 31));
|
||||
}
|
||||
|
||||
void C3D_IBODelete(C3D_IBO* ibo)
|
||||
|
@ -38,7 +38,7 @@ void C3D_VBOBind(C3D_VBO* vbo)
|
||||
return;
|
||||
|
||||
ctx->vboPos = osConvertVirtToPhys((u32)vbo->data);
|
||||
GPUCMD_AddSingleParam(0x000F0200, ctx->vboPos >> 3);
|
||||
GPUCMD_AddWrite(GPUREG_ATTRIBBUFFERS_LOC, ctx->vboPos >> 3);
|
||||
}
|
||||
|
||||
void C3D_VBODelete(C3D_VBO* vbo)
|
||||
|
Loading…
Reference in New Issue
Block a user