Closed AKuHAK closed 3 years ago
You must expand the expression. This is the functionally-equivalent expression:
gsGlobal->CurQueue->pool_cur = (void*)((u8*)gsGlobal->CurQueue->pool_cur + 16);
...of:
(u8*)gsGlobal->CurQueue->pool_cur += 16;
If you dereference, then you will end up increasing the value pointed to by pool_cur by 16, instead of increasing the pointer itself.
@AKuHAK is this now working for you? I'm not getting this error.
In latest ps2toolchain I got this error
I am just not completely sure that it can be fixed in such way: