X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=plugins%2Fgpu_neon%2Fgpu.h;h=aa0eb7b4924145a0abe862137c6b3d853e57aa9c;hb=deb18d24e522ab1d9860ffa5730559e3e6a6aa5d;hp=ebf264009802eadddebd72a56b6b9beb50975f28;hpb=56f08d8331df07ee6b17dfdba0ca2b5f0b1058c8;p=pcsx_rearmed.git diff --git a/plugins/gpu_neon/gpu.h b/plugins/gpu_neon/gpu.h index ebf26400..aa0eb7b4 100644 --- a/plugins/gpu_neon/gpu.h +++ b/plugins/gpu_neon/gpu.h @@ -44,8 +44,12 @@ struct psx_gpu { uint32_t lcf:1; // 31 }; } status; + uint32_t gp0; + uint32_t ex_regs[8]; struct { + int hres, vres; int x, y, w, h; + int x1, x2; int y1, y2; } screen; struct { @@ -55,6 +59,23 @@ struct psx_gpu { int cmd_len; const uint32_t *lcf_hc; uint32_t zero; + struct { + uint32_t fb_dirty:1; + uint32_t frame_count; + uint32_t *hcnt; + struct { + uint32_t addr; + uint32_t words; + uint32_t frame; + uint32_t hcnt; + } last_list; + } state; + struct { + uint32_t enabled:1; + uint32_t active:1; + uint32_t frame_ready:1; + const int *advice; + } frameskip; }; extern struct psx_gpu gpu;