X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fgpu_neon%2Fgpu.h;h=227aaaacc6d231ae7be1d25ec3b85056fc52779a;hp=8ad71c29e84272ed1d44ac48f2adb61c8c4e8c3d;hb=b78edec75aea5e9015e11dd71f7736d7e92b347b;hpb=914455e692f4720c43f4bc2122a4795e6c45bc7c diff --git a/plugins/gpu_neon/gpu.h b/plugins/gpu_neon/gpu.h index 8ad71c29..227aaaac 100644 --- a/plugins/gpu_neon/gpu.h +++ b/plugins/gpu_neon/gpu.h @@ -68,13 +68,14 @@ struct psx_gpu { uint32_t *hcnt; /* hsync count */ struct { uint32_t addr; - uint32_t words; + uint32_t cycles; uint32_t frame; uint32_t hcnt; } last_list; } state; struct { - int32_t set:3; /* -1 auto, 0 off, 1 fixed */ + int32_t set:3; /* -1 auto, 0 off, 1-3 fixed */ + int32_t cnt:3; /* amount skipped in a row */ uint32_t active:1; uint32_t allow:1; uint32_t frame_ready:1; @@ -86,6 +87,7 @@ struct psx_gpu { extern struct psx_gpu gpu; extern const unsigned char cmd_lengths[256]; +void flush_cmd_buffer(void); void do_cmd_list(uint32_t *list, int count);