+#define select_enhancement_buf_ptr(psx_gpu, x) \\r
+ ((psx_gpu)->enhancement_buf_ptr + \\r
+ ((psx_gpu)->enhancement_buf_by_x16[(x) / 16] << 20))\r
+\r
#ifndef NEON_BUILD\r
void setup_sprite_16bpp_4x(psx_gpu_struct *psx_gpu, s32 x, s32 y, s32 u,\r
s32 v, s32 width, s32 height, u32 color)\r
if((width <= 0) || (height <= 0))\r
return;\r
\r
+ psx_gpu->vram_out_ptr = select_enhancement_buf_ptr(psx_gpu, x);\r
+\r
x *= 2;\r
y *= 2;\r
\r