#include "psx_gpu/psx_gpu.c"
#include "psx_gpu/psx_gpu_parse.c"
#include "../gpulib/gpu.h"
static psx_gpu_struct egpu __attribute__((aligned(256)));
#include "psx_gpu/psx_gpu.c"
#include "psx_gpu/psx_gpu_parse.c"
#include "../gpulib/gpu.h"
static psx_gpu_struct egpu __attribute__((aligned(256)));
- gpu_parse(&egpu, list, count * 4);
+ int ret = gpu_parse(&egpu, list, count * 4, (u32 *)last_cmd);
+
+ ex_regs[1] &= ~0x1ff;
+ ex_regs[1] |= egpu.texture_settings & 0x1ff;
+ return ret;
}
void renderer_update_caches(int x, int y, int w, int h)
}
void renderer_update_caches(int x, int y, int w, int h)