n64decomp / mk64

A speedy Mario Kart 64 decompilation, brought to you by the cousin of a tame racing driver.
588 stars 67 forks source link

Delete gGfxSPTaskOutputBufferSize if possible #571

Closed MegaMech closed 4 months ago

MegaMech commented 7 months ago

This probably requires GCC PR merged first.

But thus far it seems the bufferSize variable isn't really necessary. Should be able to do like an ARRAY_COUNT() macro or similar.

However, when it gets removed everything gets shifted. And it might be weird having a GFX_OUTPUT_BUFFER_SIZE of 0x3f01 That doesn't work of course because the output buffer is a u64 so that actually makes it too big.