#define ENHANCEMENT_BUF_SIZE (1024 * 1024 * 2 * 4 + 4096 * 2)
-static uint16_t *get_enhancement_bufer(int *x, int *y, int *w, int *h,
+static void *get_enhancement_bufer(int *x, int *y, int *w, int *h,
int *vram_h)
{
uint16_t *ret = select_enhancement_buf_ptr(&egpu, *x);
void renderer_update_caches(int x, int y, int w, int h)
{
update_texture_cache_region(&egpu, x, y, x + w - 1, y + h - 1);
- if (gpu.state.enhancement_active &&
- !(gpu.status & PSX_GPU_STATUS_RGB24))
+ if (gpu.state.enhancement_active && !(gpu.status & PSX_GPU_STATUS_RGB24))
sync_enhancement_buffers(x, y, w, h);
}