notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gpu_neon: fix x86 build
[pcsx_rearmed.git]
/
plugins
/
gpu_neon
/
gpu.h
diff --git
a/plugins/gpu_neon/gpu.h
b/plugins/gpu_neon/gpu.h
index
8ad71c2
..
227aaaa
100644
(file)
--- 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 *hcnt; /* hsync count */
struct {
uint32_t addr;
- uint32_t
word
s;
+ uint32_t
cycle
s;
uint32_t frame;
uint32_t hcnt;
} last_list;
} state;
struct {
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;
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];
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);
void do_cmd_list(uint32_t *list, int count);