Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libctru/source/GPU.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ void GPUCMD_Run(u32* gxbuf)

void GPUCMD_Add(u32 cmd, u32* param, u32 paramlength)
{
u32 zero=0x0;
u32 zero=0;

if(!param || !paramlength)
{
Expand Down Expand Up @@ -76,7 +76,7 @@ void GPU_Reset(u32* gxbuf, u32* gpuBuf, u32 gpuBufSize)
int i;
static u32 param[0x80];
static u32 zero[0x80];
memset(zero, 0x00, 0x80*4);
memset(zero, 0x00, 0x80 * sizeof(*zero));

GPUCMD_SetBuffer(gpuBuf, gpuBufSize, 0);

Expand Down