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=20194649e803b375767675cda4c9033851abd315;hp=04f69ab855209adf7061bb1c15a4be2c5adfe2fd;hb=ee318a534ddda786d3727584cc6784bc5729276d;hpb=ea4a16e7665cf6b4a68f5c017b346547d6455470 diff --git a/plugins/gpu_neon/gpu.h b/plugins/gpu_neon/gpu.h index 04f69ab8..20194649 100644 --- a/plugins/gpu_neon/gpu.h +++ b/plugins/gpu_neon/gpu.h @@ -10,6 +10,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + #define CMD_BUFFER_LEN 1024 struct psx_gpu { @@ -57,12 +61,11 @@ struct psx_gpu { int offset; } dma; int cmd_len; - const uint32_t *lcf_hc; uint32_t zero; struct { uint32_t fb_dirty:1; - uint32_t frame_count; - uint32_t *hcnt; + uint32_t *frame_count; + uint32_t *hcnt; /* hsync count */ struct { uint32_t addr; uint32_t words; @@ -73,9 +76,10 @@ struct psx_gpu { struct { int32_t set:3; /* -1 auto, 0 off, 1 fixed */ uint32_t active:1; + uint32_t allow:1; uint32_t frame_ready:1; - uint32_t skipped_blits:5; const int *advice; + uint32_t last_flip_frame; } frameskip; }; @@ -92,3 +96,7 @@ void renderer_flush_queues(void); int vout_init(void); int vout_finish(void); + +#ifdef __cplusplus +} +#endif